Commit e3a6ab7
Remove Sparkpost email validation in favor of SES Auto Validation (#8826)
* Remove Sparkpost email validation in favor of SES Auto Validation
SES Auto Validation now handles email address validation at the
infrastructure level before delivery, making the app-level Sparkpost
recipient validation redundant. This removes the VerifyEmail command,
its call sites (bootstrap + email change), and the email_status_invalid
gate from may_receive_emails?.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Restore email_status_invalid gate and add tests for unverified
Keep blocking emails to addresses previously marked invalid by Sparkpost,
but allow sending to unverified addresses (which all new users will now
have since we no longer proactively validate).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent add086b commit e3a6ab7
File tree
6 files changed
+9
-118
lines changed- app
- commands/user
- models
- test
- commands/user
- models
6 files changed
+9
-118
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | 177 | | |
182 | 178 | | |
183 | 179 | | |
| |||
339 | 335 | | |
340 | 336 | | |
341 | 337 | | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | 338 | | |
348 | 339 | | |
349 | 340 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | 34 | | |
42 | 35 | | |
43 | 36 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | 412 | | |
423 | 413 | | |
424 | 414 | | |
| |||
434 | 424 | | |
435 | 425 | | |
436 | 426 | | |
437 | | - | |
438 | | - | |
439 | | - | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
440 | 430 | | |
441 | 431 | | |
442 | 432 | | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
443 | 439 | | |
444 | 440 | | |
445 | 441 | | |
| |||
0 commit comments