Implement email sending
integrated into front end