How to make form submit produce a single page pdf in email?