Added support for to/from in spec with the Gmail XML

Resubmission of the pull request from earlier, now with 200% more tests.