diff --git a/lib/imap.js b/lib/imap.js index 967e27e..7b5de52 100644 --- a/lib/imap.js +++ b/lib/imap.js @@ -824,6 +824,7 @@ ImapConnection.prototype._fetch = function(which, uids, options) { if (extensions) cmd += extensions; cmd += 'UID FLAGS INTERNALDATE'; + cmd += (opts.request.struct ? ' BODYSTRUCTURE' : ''); if (toFetch !== undefined) { cmd += ' BODY'; if (!opts.markSeen)