Fix mimetypes are always text/plain in mock mode.

After calling buildMimeMessage(), also saveChanges() should be called
to set content types correctly.
Merge pull request #2 from npcode/fix/mimetypes-in-mock-mode

Fix mimetypes are always text/plain in mock mode.