make hook_mail_alter work like it is supposed to