Send email functionality added

Should work