Just to FYI, when I used phantomjs the pdfs would preview in app, and send email, but the receiver would not be able to view the pdf.
I had to use
PDF_GENERATOR=snappdf
SNAPPDF_CHROMIUM_PATH=/usr/bin/google-chrome-stable
to get proper functionality back.