email functionality cheked