You also need to include "MCIMAPMessageRenderingOperation.h"