A machine that connects two or more electronic mail systems (often, mail systems on different networks) and transfers messages between them.