Added forward declaration for IMAPMessage.