Added a email sending method that can be used by anyone.