Added asertion to check folder isn't NULL in plainTextBodyRenderingOperationWithMessage and htmlBodyRenderingOperationWithMessage