currently I'm using two hooks in my hook.module. hook_form_alter() and hook_mail_alter().
In hook_form_alter() I use drupal_get_messages() to retrieve the status message.
And I want to use hook_mail_alter() to add this message to the email. But I can't pass the message content from one hook to the other.
A global variable is not working. Is there a better way? Another hook I'm not aware of?