message-mail-p

message-mail-p is an autoloaded compiled Lisp function in `message.el'.

(message-mail-p)

Say whether the current buffer contains a mail message.