Chapter 5 — How Gmail Works 89
line and the whole rest of the message, respectively, marked up in HTML. Parsing
this out, as you will in Chapter 8, will be easy. So you now know how to request a
message and read it.
And Now
In this chapter, you learned how Gmail works, and you looked at the techniques
you would use to probe the system for the knowledge you need to communicate
with the Gmail server directly. You can log in, request mail, read mail, and access
label titles and other sorts of information. In the next chapter, however, you will
look at the existing APIs for Gmail — both confirming what you have learned
here — and learn how to put your new expertise to use.