mscdex/node-imap — Issue #46: Cannot access ImapConnection.seq.* methods
Author: ajessup
Created: 2012-01-29 00:47:38+00:00
State: open

I can't seem to access the .seq namespaced methods, since they try to access methods on the parent ImapConnection object, but cannot since they don't have a reference to it.

eg.

```javascript
imap_connection = require('node-imap');

con = new imap_connection.ImapConnection({
username: 'XXX@gmail.com',
password: 'XXXX',
host: "imap.gmail.com",
port: 993,
secure: true,
debug: null
});

con.connect(function(){
con.openBox('INBOX', function(){
fetch = con.seq.fetch(1, {'request':{'headers':true}},
function(err){
console.log('Done');
}
);
});
});
```

Fails with:

```
TypeError: Object #