-
Notifications
You must be signed in to change notification settings - Fork 308
Conversation
Still in process. I wanna write some tests.
|
Ready for review @JessaWitzel @mattbk! |
6fe6460
to
03d3081
Compare
Gosh, I guess I should actually test the mail though. Harumph. |
Looks good to me! As an exercise, here is how I would have written it. It's interesting how tone differs so much depending on who is writing everything. Hello! We are so glad that you have joined us over at Gratipay! We know you do not receive many emails like this from us, and that is intentional. We certainly don't want to spam you because when we do email you we want you to know that it's important, plus that's just annoying. Today we want to let you know that we have revised our Terms of Service, that all important document that governs your continued usage. If you no longer use your Gratipay account, you can close it here. Have a great day! |
Would be awkward to have a username of |
:-P The |
Please don't wait for a review from me--I am unqualified for this one. |
Gonna see about mailing myself with this one ... |
That means AWS locally! |
Hey! I already have AWS keys commented out in my local.env. They're labeled "emails_development AWS user." Let's give that a shot! |
Rebased, was 03d3081. |
03d3081
to
eb1baa4
Compare
Now where did it go? :) |
Oh! This just enqueues it, another process has to dequeue it. |
Those failures tho ... 😕 |
That's trying to sign up for a new account because I don't have the login handy for our existing account (coffee shop). |
Both failing on
|
That was the test message, which I received. Not sure why I'm getting "via amazonses.com" but I'm not going to sweat it. |
|
https://media.amazonwebservices.com/AWS_Amazon_SES_Best_Practices.pdf |
http://docs.aws.amazon.com/ses/latest/DeveloperGuide/best-practices-recipients.html |
DKIM was enabled for our domain but not for the [email protected] address. I've enabled it for the address. |
https://aws.amazon.com//blogs/ses/never-send-to-old-addresses-but-what-if-you-have-to/ |
Just a suggestion |
@kaguillera What are the details of their implementation? How do they determine if an address "really exists"? |
Alright, so we definitely need to start doing this. But how much do we need to get done before sending out these emails? |
I started poking at AWS SNS for notifications. Supposedly we can use that to |
This is tough to test because we need a good email to verify it with Gratipay, but then how do make it subsequently bounce in order to test that case? I tried with https://temp-mail.org/en/ and https://requestb.in/ for the webhook |
We can also configure SNS to dump to SQS instead.
|
You can add it to the database by hand. This is how I set up myself as admin on localhost. |
I created a user in Google Apps, used it to verify an email for a Gratipay test account, and then deleted the user. Google allows restoring users for up to five days, though, so I'm not sure when we'd start getting a hard bounce. Not seeing one yet ... |
Seeing it from personal email. Trying via SES now ... |
P.S. and FTR, the easiest way to test is with a Google Apps "Group," because it can route to an existing account so you don't have to do a password and login dance in order to receive mail. It may also be instantly deleted whereas full user accounts are not. |
Based on these docs I redid the link from SNS to SQS on the SQS side. |
Alright, so here's what I propose:
Given that it is now after 5pm on Friday, it looks like we are going to be sending next week after all. :-) Will move to a new PR since this is closed ... |
Includes a script that we can reuse next time we need to send out a transactional email to everyone.