chirag04/mail-listener2 — pull request #26 by goldibex (2014-07-25 02:06:28+00:00)
Title: Unbreak attachmentOptions

The existing check fails if attachmentOptions isn't set because it looks at options.attachmentOptions, which may be (and in my case is) undefined, not this.attachmentOptions, which is what gets defaulted with {} by the assignment in line 24. This simple change unbreaks things.