remove settings assignment in TestEmailApi