send email and pdf