fix problem with email auth file