add check for empty email subject