nnmail-pre-get-new-mail-hook

nnmail-pre-get-new-mail-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 just before starting to handle new incoming mail.

You can customize this variable.