You're missing #include "MCIMAPMessageRenderingOperation.h"