pixelcog / gmail-to-pdf

A Google Apps Script library for converting Gmail messages to PDFs for easy archival.
http://bit.ly/1CsBl8U
122 stars 38 forks source link

After months of successful execution, I'm now having an error when my script gets executed ? #4

Open aziz-boudi4 opened 7 years ago

aziz-boudi4 commented 7 years ago

Thank you for your work, I have built a google app script a few months ago, and I used "GmailUtils" to build it.

We have been using it at our company successfully.

Everything was working fine, but I have now an error popping up that is preventing my script to work properly.

Do you know by any chance why this problem is occurring ?

Here is the error that I'm getting :

    Execution failed: TypeError: Cannot call method "toLowerCase" of null. (line 360, file "Code",   project "GmailUtils") [1.245 seconds total runtime]
lydudlejning commented 7 years ago

I'm also getting this error?

lydudlejning commented 7 years ago

I imported GmailUtils.gs into my project and accessed the library directly with no name spacing and the script worked without the error.