RemotePixel / disasterwatch

Access satelite imagery where it is needed
https://disasterwatch.remotepixel.ca/
GNU General Public License v2.0
44 stars 5 forks source link

Email models #20

Closed vincentsarago closed 8 years ago

vincentsarago commented 8 years ago

I see at least three different email that the user can receive:

I need to get my hands into AWS SES but I think working with email html models will be useful.

?

vincentsarago commented 8 years ago

now that database is up and running I can work on the mailing function using AWS Lambda (node) and AWS SES.

vincentsarago commented 8 years ago

alright, I've been working on the mailing function during the weekend! https://github.com/RemotePixel/disasterwatch-lambda/commit/fbd8ad00e8b3848a73cb2c476ff1f21daefe4035

it's working (only for remotepixel.ca mail addresses for now but aws SES limitation should be removed soon).

Mail templates are from mailchimp blueprints (https://github.com/mailchimp/Email-Blueprints) but I'm not 100% sure those will render perfectly on every mail.

capture d ecran 2016-10-17 a 00 25 02

capture d ecran 2016-10-17 a 00 25 18