Implemented sending emails directly from the app