KartikTalwar/gmail.js — pull request #85 by madhugb (2014-09-17 05:30:29+00:00)
Title: get 'to' value if the 13th index is undefined

This worked for me, though the format is little different, if you are only looking for email address then you will get it.