PDF emails are 0kb and won't open