Stub in SMTP for email verification

Adds `mailer.js` for sending recovery method verification codes.

The `sendCode` function currently just sends the bare code to the given email address. This will need to be a link that can be opened by a browser to submit the code to the key server.

Other changes are related to managing `Account` relations.