[IM] Allowing to specify auth email type.