frontend now alerts users if an email sent successfully or failed to send