POST https://mail.api.sypnia.com/v1/emails with a template and its data, or a subject and a body. The API checks the key, that the sender’s domain is verified, that recipients are not on the suppression list, and the project’s limits, then answers 202 with the e-mail’s id.
Mail renders and queues
The template is rendered with the data into HTML and plain text, tracking is added if you turned it on, and the message waits in the project’s queue, which respects the rate your plan and warm-up allow.
Amazon SES delivers
The message is handed to Amazon SES, signed with your domain’s DKIM key, with your domain’s return path, and SES delivers it to the recipient’s server.
Events come back
SES reports delivery, bounces and complaints; Mail records each as an event on the e-mail, adds hard bounces and complaints to the suppression list, and sends the events to your webhook.
Where things live
Thing
Where
The API
https://mail.api.sypnia.com/v1Cloud
The SMTP relay
smtp.mail.sypnia.com, ports 587 and 465 Cloud
Templates, events, suppressions
the engine’s Postgres
Message bodies
kept for the plan’s retention, then deleted; events are kept longer without the body