OK.  I think this should be something like:
```c++
virtual String * htmlRenderingWithSession(IMAPSession * session,
                                          String * folder,
                                          ...);
```
But I'm still not clear on how all of the pieces fit together. Should this method take a custom callback like the Objective-C version?