Implements sendEmail and sendEmails, which will be used later to send email notifications to users.
Dalton Tapply, Peter Leondires, Doruk Uzunoglu, Tony Garside