Sometimes it is useful to receive data in the form of e-mails instead of having traditional HTTP(S) APIs.
A traditional case for it is handling customer replies to incident tickets, for which it is much easier for them to reply to an e-mail notification from their mailbox than it would be for them to access the ticketing system to reply.
Fortunately, Go makes it easy to write such SMTP servers, in a way which even resembles HTTP server. See how it is done.