Send an e-mail to dealer when possible when an offer is accepted

[Finishes #49554639]
Fix error handling on login

[Finishes #48189985]