DEV Community

Amr Elgarhy
Amr Elgarhy

Posted on • Originally published at treenodes.com on

1 1

Why mailchimp-mandrill driving me nuts?

I have used mailchimp and its API mandrill in couple of projects recently.

Both of these projects had requirements to send a relatively complex emails such as confirmations to customers, detailed invoice and account totals which required a strong email template engine to allow sending object list and let the template itself loop through the objects and display them.

I found Mandrill and their template engine which you can set it to use Handlebars.js is very powerful and fit my needs pretty well.

Because Mailchimp templates design editor is robust and easy to use, we started to build the templates in mailchimp then pushed to mandrill to be called from my project.

Till this moment everything looks perfect and no problems.

But, what happened next is the following:

I wanted to remove some code which Mailchimp template designer adds to the template by default: https://stackoverflow.com/a/46185879/20126

So I went to the Mandrill template editor, (which has no UI, you will need to update pure HTML) and updated the code there. all good, But now I can’t push the template back to Mailchimp, there is no way to sync between them anymore, and as a result I have now 2 different version of the same template, original one on Mailchimp (which I don’t to push anymore to Mandrill), the Mandrill new updated version.

And the real pain behind this that the Mandrill email template editor is very poor comparing the rich design Mailchimp template editor.

But now I have no way to go back to Mailchimp and I am trapped in Mandrill 🙁

Mailchimp: please you will need more integration functions with Mandrill to look like one application.

API Trace View

How I Cut 22.3 Seconds Off an API Call with Sentry 🕒

Struggling with slow API calls? Dan Mindru walks through how he used Sentry's new Trace View feature to shave off 22.3 seconds from an API call.

Get a practical walkthrough of how to identify bottlenecks, split tasks into multiple parallel tasks, identify slow AI model calls, and more.

Read more →

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay