Use this command to view alert email configuration.
get system mail <mail service id>
This example shows the output for get system mail Test2:
get system mail Test2
server : Test2
auth : enable
passwd : *
port : 25
user : test@fortinet.com