implement email authentication protocols