Add email notifications on request

This actually makes emails work. Granted, they're only in the request to
join phase right now, but that's the most critical to have working.