nnmail-post-get-new-mail-hook

nnmail-post-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 after finishing handling new incoming mail.

You can customize this variable.