Sorry everyone. This looks like it was a permission error. I had to reauthorize access to Gmail and it worked like a charm.