message-send-mail-hook

message-send-mail-hook is a variable defined in `message.el'.
Its value is
nil

  • This variable may be risky if used as a file-local variable.

Documentation:
Hook run before sending mail messages.
This hook is run very late -- just before the message is sent as
mail.

You can customize this variable.