added email delivery