Adding send_email functionality.