{"push_id":1028948166,"size":6,"distinct_size":1,"ref":"refs/heads/master","head":"c37f4e11009ddf7986a9dd24b08e68cfa5bb0d23","before":"bdf2eb731c5e88d65b65ddc845064b86a1ae0619","commits":[{"sha":"f330f827d220513841d712cc31444c31f06ffd44","author":{"email":"c22b5f9178342609428d6f51b2c5af4c0bde6a42@chadoh.com","name":"Chad Ostrowski"},"message":"Start setting up emails\n\nThis is just where I'm keeping notes.\n\nTo send emails, I've chosen to use [SendGrid][send]. Some things to look\ninto:\n\n* [Transactional Emails][tran] seem awesome for collaborating on the\n  look & feel of emails with Uri. I still have to explore if they're\n  flexible enough to have whole sections that are loaded in as\n  variables (for the \"upcoming\" & \"this week in your life\" sections of\n  weekly email).\n* The [X-SMTPAPI header][xapi] seems like it will come in handy for\n  sending emails at a certain time – they could all be enqueued by cron\n  on, say, Saturday night, but by using this header could all be sent by\n  SendGrid at 7am in the user's local time.\n* The X-SMTPAPI header can also be used to set categories for emails,\n  for our own tracking interests.\n\nWhen sending emails, I'll enqueue them to be processed in the background\nusing Sidekiq. Things to remember here:\n\n* Set up username & password for UI\n* Set up Heroku to run a worker process (cost?)\n\n  [send]: https://elements.heroku.com/addons/sendgrid\n  [tran]: https://sendgrid.com/docs/Glossary/transactional_email_templates.html\n  [xapi]: https://sendgrid.com/docs/API_Reference/SMTP_API/index.html","distinct":false,"url":"https://api.github.com/repos/chadoh/life_api/commits/f330f827d220513841d712cc31444c31f06ffd44"},{"sha":"05c116b27ea9ea010b93cf6ecd7f27e8245245a2","author":{"email":"c22b5f9178342609428d6f51b2c5af4c0bde6a42@chadoh.com","name":"Chad Ostrowski"},"message":"Get email sending in background job\n\n* Start using Sucker Punch (thanks, @brandonhilkert!)\n* Create job to send email from template in SendGrid\n\nNext, I need to add tests for this thing. Then, actually using it when\nnew users sign up.","distinct":false,"url":"https://api.github.com/repos/chadoh/life_api/commits/05c116b27ea9ea010b93cf6ecd7f27e8245245a2"},{"sha":"3dcf5a9b957f632847ab164df2df694739df2aa4","author":{"email":"c22b5f9178342609428d6f51b2c5af4c0bde6a42@chadoh.com","name":"Chad Ostrowski"},"message":"Test WelcomeEmailJob","distinct":false,"url":"https://api.github.com/repos/chadoh/life_api/commits/3dcf5a9b957f632847ab164df2df694739df2aa4"},{"sha":"bd3cca76827e354f3c4f6ec0b6aacac4928f439e","author":{"email":"c22b5f9178342609428d6f51b2c5af4c0bde6a42@chadoh.com","name":"Chad Ostrowski"},"message":"Send new users a welcome email","distinct":false,"url":"https://api.github.com/repos/chadoh/life_api/commits/bd3cca76827e354f3c4f6ec0b6aacac4928f439e"},{"sha":"549cb035121c9bd6d61b91d397b72051ced5f30f","author":{"email":"c22b5f9178342609428d6f51b2c5af4c0bde6a42@chadoh.com","name":"Chad Ostrowski"},"message":"Personalize email subject line\n\nAlso, only pass the name to SendGrid. SendGrid handles putting in the\nother content. This keeps it more customizable in the SendGrid GUI, so\nit can be collaborated on more easily.","distinct":false,"url":"https://api.github.com/repos/chadoh/life_api/commits/549cb035121c9bd6d61b91d397b72051ced5f30f"},{"sha":"c37f4e11009ddf7986a9dd24b08e68cfa5bb0d23","author":{"email":"c22b5f9178342609428d6f51b2c5af4c0bde6a42@chadoh.com","name":"Chad Ostrowski"},"message":"Merge pull request #6 from chadoh/mail\n\nStart setting up emails","distinct":true,"url":"https://api.github.com/repos/chadoh/life_api/commits/c37f4e11009ddf7986a9dd24b08e68cfa5bb0d23"}]}