email stuff for labs; doesn't work yet because of https://bugzilla.wikimedia.org/show_bug.cgi?id=51359
Merge branch 'mail-for-labs' into development