check content and email to ensure that they are not empty