Planning out an L5 app and I can't decide how to handle email. I'm going to use DigitalOcean and Forge, but I'm not sure how to set up custom email addresses inside DO.
I know it's probably easier to just use Gmail, but I've always thought it looks more professional when contact email addresses are on the domain of the website in question.
Of course you can host your own email server on your droplet.
You need to install an email server like postfix and you have to configure it.
But: DONT DO IT !
You have no plan how to administrate a server.
An own server is more like "i install it with forge". You have to update the server, you have to secure the server and more.
Specially a mail server is very sensitive.
So if you want to be professional, host your emails somewhere else :)
Managing SMTP is a nightmare. You'll wake up one morning and find the server is not receiving emails somehow. I usually use Google Apps for business (which costs money) or Zoho (it has free plan).
Are you looking for a real email account that you receive mail on, or just something to send out transactional emails from your app, such as mails sent from noreply@yourdomain.com? For the former, something like Gmail works fine, and you can use your own domain name with gmail (at least you could several years ago when I used it). I personally use Microsoft Exchange Online. For transactional emails, use something like Mandrill, Mailgun, or Sendgrid. I have used all three and personally prefer Mandrill. Like others have said, DO NOT try to run your own email server unless you really know what you are doing.
One option which has not been mentioned here is migadu.com. They are providing (free) email hosting for your domains with unlimited mailboxes. I've been using the for a few domains and liked their service so far. What is nice is the very simple integration with Digitalocean in that they set up all the neccessary DNS entries for a specific droplet.