by pfooti · 10y ago · 0 comments
Specifically, we have some webhooks set up so whenever someone emails blah@example.com, mandrill posts that data to a known URL on my webapp (processing inbound email events like replies and so on).
Mandrill also "supports" a handlebars language on their end, so I can have a handlebars outbound template and pass in a big data structure (with repeats and conditional rendering).
I caveat supports, because their API doesn't support nested arrays (an array of objects which in turn contain an array property, for example) and their API silently ignores any camelCased variables. There's a couple of other weirdnesses to mandrill's handlebars, but on balance it's handy to allow my designers to change the layouts to some outbound emails without having to push those template changes to the web application itself (previously, we used handlebars to render a big HTML blob on the server side which got pushed into to the email).
I can live without a rich view template language, but not really without inbound webhooks. I know Amazon SES can be made to handle this with their Lambda service or via Amazon SNS (my webapp doesn't run on EC2, so it is a tad more complicated), and I had been working through a lot of the other providers to see who supports what, because woah is mandrill going to be a lot more expensive now.
[1] https://documentation.mailgun.com/quickstart-receiving.html
I've previously used Mandrill for inbound, which has a lot of problems that I'd rather not enumerate. But that was at a much higher scale, so many of those problems I wouldn't have seen yet even if Mailgun has them.
Sendgrid supports all of these features, and we work really hard to make inbound event webhooks a first class feature (some of our customers base their entire business models on our inbound webhooks and stats). I hate sales pitches in HN comments so if you'd like to learn more or have any questions my email is under my profile.
Sendgrid's is also, I think, just included at no extra charge.
I use Mailgun and it supports this.