SES
Amazon SES is quite possibly the most cost effective email service available. If you are sending high volumes of emails it is highly recommended, but it does require some extra setup.
Setup
Requesting Approval
Once you are ready to use SES you must request approval to send emails in production. In general it is recommended you try and request access earlier than later as you may be denied. The process usually does not take longer than a day, but providing lots of context is important.
To request access, do the following:
- Navigate to the AWS SES portal
- On your account dashboard you should see an alert informing you that your account is in sandbox mode. Hit the
Request Production Accessbutton. - Fill out the form with the details of your product and submit. The more details the better as it will improve your chances of being approved.
Outbound
Create Verified Identity
- From the SES portal, navigate to
Verified Identities - Click
Create Identity - In general for Parcelvoy you will want the flexibility of sending emails from any address, so we recommend picking the
Domainentity type. - Next, enter the domain you want to use for sending emails. In general it is recommended that you use a subdomain to prevent your primary emails reputation score (which may house your company emails) being affected by any marketing or transaction emails you send.
- Follow the instructions on how to verify your domain as well as setup DKIM for email security.
- Hit create. Once created, SES will verify your domain to make sure it is setup correctly.
Setup Integration
- Navigate to
IAMin the AWS portal - Go to
Usersand hitCreate User - Pick a random username for your user and hit
Next - If you have existing groups that cover the permissions necessary use that, otherwise select
Attach policies directlyunderPermission Options - Search for
AmazonSESand selectAmazonSESFullAccessfrom the list - Hit
Nextand thenCreate User - Navigate to your newly created user and then to the
Security Credentialstab - Under
Access KeyshitCreate Access Key - From the provided best practices list, pick
Application running outside AWSand hitNextthenCreate Access Key - Save the provided access key and secret access key
- Open a new window and go to your Parcelvoy project settings
- Navigate to
Integrationsand click theAdd Integrationbutton. - Pick
Amazon SESfrom the list of integrations and enter theAccess Key Id(access key) andSecret Access Keyin the provided fields. - To determine your region, navigate back to SES and look at the URL bar. The first part before
console.aws.amazon.comis your region (i.e.us-east-1). Enter the region in the appropriate field. - Hit save to create the provider.
Inbound
Email sending is not the only important part, you also need to keep track of things like email opens, clicks, unsubscribes, bounces and complaints. Parcelvoy automatically takes care of opens, clicks and unsubscribes for you, but bounces and complaints require notifications from SES.
To setup inbound notifications, do the following:
- Open the Amazon SNS console and choose
Topics. - On the Topics page, choose Create topic.
- In the
Detailssection of the Create topic page, choose Standard for type and provider a name. - Choose
Create topic - From the Topic details of the topic that you created, choose
Create subscription - For Protocol, select
HTTPSand enter the Parcelvoy SES unsubscribe URL for your provider (which can be found on the provider details screen) - Hit save
- Navigate to the SES console and choose
Verified identities - Select your previously created identity and go to the
Notificationstab. - Disable Email feedback forwarding
- Under Feedback notifications, hit
Edit - For
Bounce feedbackandComplaint feedbackselect the SNS topic you previously created and check theInclude original email headerscheckboxes. - Hit save changes and you are all set!