I am not sure why you would want to create a file when a new message arrives. If you are using Maildir format for your mailbox each new message will saved in a file.
Depending on your email software you can used a tool like procmail
to handle incoming mail. If you are reading from a remote mail server, you can combine this with a tool like fetchmail
to read the mail and copy it to your system. As you talk about using Outlook, this may be an appropriate method.
If you are looking for an equivalent to Outlook, many users use Thunderbird. There are also WebMail servers like roundcube and squirrelmail that can be used.
1
So when you login you you see this in the terminal? Have you tried just typing "mail"? http://www.computerhope.com/unix/umail.htm
– acejavelin – 2016-11-17T11:59:17.133