You can configure an email filter to detect and log emails sent by Gmail and Hotmail. These interfaces do not use standard email protocols (SMTP, POP3, or IMAP) and use HTTPS instead. However, you can still configure the email filter to detect emails that pass through the FortiGate.
The FortiGate only detects and logs the emails, it does not discard or tag them.
config emailfilter profile edit <name> set spam-filtering enable config msn-hotmail set log-all enable end config gmail set log-all enable end next end