Created by: unknwon
Our code logic for calculating email sending cooldown consults the value of the user_emails.last_verification_sent_at
column, however, if the email didn't get sent in the first place due to any reason, the column is NULL, and resend is impossible. The user would have to first remove and re-add the same email.
Fixes https://github.com/sourcegraph/sourcegraph/issues/36632
Manul e2e test and unit test.
"email.smtp"
(simulate email sending failures)