hook_mail written