The mailer can already receive send-email events and fulfil them via SES. However the initial implementation assumed that the body of the email would be embedded inside the event itself.
The event size limit for kinesis is too low for this to be useful, so instead, the event will just contain a reference to an S3 object where the email body can be downloaded from.
[x] Receive send-email events
[x] Download the email body from an S3 object specified inside the event
[x] Construct the email request for S3
[x] Put events back onto the stream based on which recipients succeeded or failed
The mailer has a WIP large-emails branch for this already.
The mailer can already receive
send-email
events and fulfil them via SES. However the initial implementation assumed that the body of the email would be embedded inside the event itself.The event size limit for kinesis is too low for this to be useful, so instead, the event will just contain a reference to an S3 object where the email body can be downloaded from.
send-email
eventsThe mailer has a WIP large-emails branch for this already.