Add email sending functional.