fix typo/bug in auth arg validity check
new editor, changed whitespace, change confusing var name
add email switch to config and honour it in the emailer