mailmason icon indicating copy to clipboard operation
mailmason copied to clipboard

Add the ability for `mailmason` to generate and upload/update templates.

Open randytarampi opened this issue 8 years ago • 7 comments

See wildbit/grunt-postmark#3 for more details. This is heavily coupled with that PR.

Add an upload task that will generate templates in ./dist and then upload them to a postmark server specified in secrets.json.

I can rejig the README/wiki if we think this is a good idea.

randytarampi avatar Jul 24 '17 15:07 randytarampi

bump

Just doing some fall cleaning and saw this was still open. Think we might be able to get some eyes on this soonish @derekrushforth?

randytarampi avatar Oct 11 '17 22:10 randytarampi

This would be extremely helpful for me as well. I'm using @randytarampi 's fork for now but it would be great to get back onto master at some point.

gcoombe avatar Nov 08 '17 18:11 gcoombe

Hey @randytarampi,

I'm going to do some thorough testing of both PRs next week. Apologies for getting to this so late.

Thanks for taking the time to do this. This is going to be sweet.

derekrushforth avatar Nov 08 '17 22:11 derekrushforth

I'm also using @randytarampi 's fork. It will be good if this functionality will be at master and updating with mailmason.

jmas avatar Nov 24 '17 07:11 jmas

Any updates on this?

gcoombe avatar May 16 '18 20:05 gcoombe

I'd like to +1 this, but I also want to call out one problem that we ran into while using Mandrill, which is that some folks were updating templates directly in the UI while others were (as per best practices) updating in our external email template repo and then copying/pasting them over the existing templates. This meant any changes added via the UI were lost. One thing that I had hoped to write but never got around to was a way to do a diff with a pull/push and call out possible conflicts. Might be nice to give that some consideration here, even if just calling it out in the documentation

chrisbloom7 avatar Oct 09 '18 21:10 chrisbloom7

I was actually just about to write up the documentation here when I realized that everything's in the wiki and not the README.

I can add things to the wiki once this gets merged and published but I'm pretty hesitant to add it now while this is still on a branch since it might be misleading.

Do agree that it is a major issue. Caused a couple of headaches in our use case as well – just ended up keeping changes to emails restricted to developers via Mailmason. I can get behind the push/pull diff idea though – sounds like something for another PR based on this though.

randytarampi avatar Oct 16 '18 23:10 randytarampi