Hooked in email sending