Initial version of emails feature with confirmation email.