Is it possible to receive emails through the mail server functionality of Mathematica with email attachments?
I think you're looking for
MailItem and its
Connect to a mailserver:
mail = MailServerConnect
Get the attachments of the last email:
More, but sparse, information is in the documentation for
It's important to note that Mathematica itself is not a mail server and doesn't have the ability to receive mail itself - it can only interact with an existing mail server via IMAP. That existing mail server is the thing that receives mail.