"""Simple email service by AWS.""" import boto3 def get_ses_client(): """Get ses client.""" return boto3.client('ses') def send_email(params): """Send an email with ses. Args: params (dict): the params of the email to send. e.g. params = { subject: 'Rejected updated to Completed product blabla', to: ['switchboard-notifications@theorchard.com'], sender: 'noreply@theorchard.com', text_body: '