It depends on where you want to start, really. If you want to be able to hand-code the HTML, CSS and JavaScript on the front-end, you'll need to know and study myriad concepts, quirks, tips, bugs, standards and techniques. In that case, you'll need more than books, you'll need to start hacking. Good books I've read to help you here include Ajax Design Patterns[1][2] and JavaScript and Ajax for the Web [3]
If you want to have a toolset at your disposal that gets you most or all the way there without understanding the underlying web substrate, I'd recommend investing in a GUI building framework. GWT[4][5] or Flash/Flex[6] might be good ways to go.
GMail and other state of the art web applications are incredibly detailed pieces of work. Quite frankly, no book (or books) will tell you everything you need to know to build them. Hope this helps!
- [1] Ajax Design Patterns (book) http://www.amazon.com/gp/product/0596101805/
- [2] Ajax Design Patterns (website) http://ajaxpatterns.org/
- [3] JavaScript and Ajax for the Web http://www.amazon.com/JavaScript-Ajax-Web-Visual-QuickStart/dp/0321564081/
- [4] Google Web Toolkit http://code.google.com/webtoolkit/
- [5] GWT book list http://code.google.com/webtoolkit/books.html
- [6] Adobe Flex http://www.adobe.com/products/flex/