Try to send pdf only if email is valid