Fix auth email configuration

I introduced a bug in #1919, this fixes it.

@feanil, could you please check this?