how can i validate an email submission?