code: def __send_ses_email(self, recipients, subject, body_html, body_text):
          
          source_arn = dbconfig.get('source_arn', NS_EMAIL)
          return_arn = dbconfig.get('return_path_arn', NS_EMAIL)
  
          session = get_local_aws_session()
          ses = session.client('ses', region_name=dbconfig.get('ses_region', NS_EMAIL, 'us-west-2'))
  
          body = {}
          if body_html:
              body['Html'] = {
                  'Data': body_html
              }
          if body_text:
              body['Text'] = {
                  'Data': body_text
              }
  
          ses_options = {
              'Source': self.sender,
              'Destination': {
                  'ToAddresses': recipients
              },
              'Message': {
                  'Subject': {
                      'Data': subject
                  },
                  'Body': body
              }
          }
  
          # Set SES options if needed
          if source_arn and return_arn:
              ses_options.update({
                  'SourceArn': source_arn,
                  'ReturnPathArn': return_arn
              })
  
          ses.send_email(**ses_options)
docs: Send an email using SES
  
          Args:
              recipients (`1ist` of `str`): List of recipient email addresses
              subject (str): Subject of the email
              body_html (str): HTML body of the email
              body_text (str): Text body of the email
  
          Returns:
              `None`