nnmail-prepare-incoming-hook

nnmail-prepare-incoming-hook is a variable defined in `nnmail.el'.
Its value is
nil

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

Documentation:
Hook called before treating incoming mail.
The hook is run in a buffer with all the new, incoming mail.

You can customize this variable.