Setup automated Mailgun emails

Allows notifications to be sent via email to users. This will allow for
many types of transactional emails, for example informing them that a
cow is due to calf.