add pdf mailer method