Skip to content

Instantly share code, notes, and snippets.

@deezone
Last active December 28, 2015 19:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deezone/7549707 to your computer and use it in GitHub Desktop.
Save deezone/7549707 to your computer and use it in GitHub Desktop.
DS eMail System Thoughts
Issues:
-> The ability to log sent messages (prevent sending the same message twice) - success or failure: tech reason or bounced email address
-> The ability to query what messages were sent
-> The ability to resend messages / send followup (apology) messages
-> Support different DS systems sending transactional messages (Drupal, Ruby, etc) - end point?
-> track number of messages sent to an email address
=> trigger digest format
=> throttle the timing of sent messages
=> how many are in the queue, to be sent vs how many have been sent recently (triggers for format)
-> sync with MailChimp subscription status
-> unsubscribe from specific campaigns
-> Send test messages through Mandrill to specific email addresses for proofing before releasing live
-> Send alerts when health checks fail
Solution
Queue / Message Broker ??
-> Rack Space Cloud Queues
-> RabbitMQ
----------
Using Heroku to create test app to log webhook details from:
MailChimp: http://apidocs.mailchimp.com/webhooks/
Mandrill: http://help.mandrill.com/entries/21738186-Introduction-to-Webhooks
-> Basic node.js app listening on:
http://vast-dawn-9404.herokuapp.com/mc-webhooks
http://vast-dawn-9404.herokuapp.com/man-webhooks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment