- [ ] Amazon - References: - <https://aws.amazon.com/ses/> - <https://docs.aws.amazon.com/ses/latest/APIReference/API_SendRawEmail.html> - <https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-raw.html#send-email-mime-encoding> - <https://docs.aws.amazon.com/ses/latest/DeveloperGuide/using-configuration-sets.html> - <https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html> - <https://boto3.amazonaws.com/v1/documentation/api/latest/guide/session.html#session-configurations> - See the paragraph on setting credentials when creating a session (and also the bit on a `--profile` argument) in <https://ben11kehoe.medium.com/boto3-sessions-and-why-you-should-use-them-9b094eb5ca8e> - Configuration arguments: - Credentials: - region - shared credentials file and/or config file - profile - access key, secret access key, and session token??? Alternatively, take no credentials (except profile?) and expect the user to configure them the regular boto3 way themselves? - SES-specific: - configuration set - tags - [ ] Gmail - References: - <https://developers.google.com/gmail/api/guides/sending> - <https://cloud.google.com/docs/authentication/production> - <https://developers.google.com/gmail/api/quickstart/python> - <https://github.com/googleapis/google-api-python-client/> - <https://github.com/googleapis/google-api-python-client/blob/master/docs/start.md> - <https://github.com/googleapis/google-api-python-client/blob/master/docs/oauth-installed.md> - How other libraries handle Google API credentials: - <https://gspread.readthedocs.io/en/latest/oauth2.html> - <https://www.analyticsvidhya.com/blog/2020/07/read-and-update-google-spreadsheets-with-python/> - [ ] Google App Engine? - [ ] IMAP? - cf. [rss2email's support for sending via IMAP](https://github.com/wking/rss2email/blob/0489b589160306794f21341f767118abd91f4ece/rss2email/email.py#L178) - Use pytest-docker plus the dovecot/dovecot Docker image for testing - cf. <https://pypi.org/project/imap-tools/>? - cf. <https://github.com/martinrusev/imbox>? - [ ] Sendgrid - Use the official `sendgrid` library? - <https://sendgrid.com/docs/api-reference/> - [ ] Mailchimp Transactional - <https://mailchimp.com/developer/transactional/api/> - [ ] Postmark - <https://postmarkapp.com/developer> - [ ] MailSlurp? - <https://www.mailslurp.com> - <https://www.mailslurp.com/docs/python> - <https://pypi.org/project/mailslurp-client/>
Amazon
also the bit on a
--profileargument) inhttps://ben11kehoe.medium.com/boto3-sessions-and-why-you-should-use-them-9b094eb5ca8e
Credentials:
Alternatively, take no credentials (except profile?) and expect the
user to configure them the regular boto3 way themselves?
SES-specific:
Gmail
Google App Engine?
IMAP?
Sendgrid
sendgridlibrary?Mailchimp Transactional
Postmark
MailSlurp?