Email servers work by using a combination of protocols to control the sending and receiving of emails. The Simple Mail Transfer Protocol (SMTP) is responsible for sending emails, while the Post Office Protocol (POP3) and Internet Message Access Protocol (IMAP) are used for receiving and storing emails. When you send an email, your SMTP server communicates with the recipient's SMTP server to ensure the message is delivered.