Prerequisites
Using SDK
This example is based on the Mailrify’s official mailrify-python SDK library.Initialize SDK
Get the API key from the Mailrify dashboard and initialize the SDK.
Send an email with a simple dict
Custom headers are forwarded as-is. Mailrify only manages theX-Usesend-Email-IDandReferencesheaders.
Adding contacts programatically
Get the contact book id
Get the contact book id from the Mailrify dashboard. Copy the contact book id.