send certificate with attachment to mailer on the fly