added email sending class