IMAPPOP3
IMAP (Internet Message Access Protocol) and POP3 (Post Office Protocol version 3) are email retrieval protocols used by clients to access messages stored on a mail server. They are widely supported, but they work differently in how they store and synchronize messages.
IMAP keeps messages on the server and synchronizes state across multiple devices. Users can organize mail into
POP3 is a simpler, download-oriented protocol. By default, it downloads messages to the client and may delete
Security for both protocols is typically provided via TLS or SSL. IMAP commonly uses port 993 for
IMAP was developed to support server-side storage and multi-device access and is defined in RFC 3501 (IMAP4rev1).
Both protocols are compatible with contemporary mail servers and clients, and many servers offer both options