It uses the IMAP (IMAP4rev1, IMAP4, and IMAP2bis)protocol for accessing mail messages on a server, the standard SMTP protocol for sending messages, and does lots and lots of things withMIME parts for mixed text and attachments" of many different types of files and data.