I'd like to see how a certain email was put together.

Is there a "View Source" for emails sent to Gmail?

migrated from superuser.com Oct 31 '12 at 11:40

This question came from our site for computer enthusiasts and power users.

  • Cant you just "view source" in the browser? – jtheman Oct 30 '12 at 20:20
  • 2
    This belongs on SuperUser, but yes, "show original" after clicking on the arrow top-right – Jasper Oct 30 '12 at 20:20
  • see my answer below. – bibscy May 16 at 12:21
up vote 26 down vote accepted

As Jasper pointed out, click the dropdown menu next to the reply button, and select Show original.

Show original

  • 4
    When I do that, I only see the base64 encoding of the source. – Adam Parkin Oct 5 '15 at 15:24

Once you get your Show original window up, your address bar will contain something like this: https://mail.google.com/mail/u/0/?ui=2&ik=1234567890&view=om&th=1234abcd1234abcd

Just change the bit that says view=om to view=lg.

Push Enter, and bingo: it’s no longer plain text. Now save it as .html or as .pdf.

Source: http://blog.brush.co.nz/2012/09/save-a-gmail-message-to-hard-disk/

Don't know the web client of Gmail, but some way to go would be to configure different email client (e.g. Thunderbird with imap a few clicks...) where you can easily view the source of the message.

  • Incorrect answer. – Folk Nov 10 '16 at 21:00

I had to actually do show original, and then do view source to see the source HTML.

  • 1
    Why? Didn't you see the email's source when you did Show original? – Vidar S. Ramdal Apr 29 '14 at 14:21

Select Print email and it will open the link in a new window or tab, where you can right click see all the source code.

  • I think you're thinking of "Show original". – ale May 13 '16 at 11:57
  • 1
    This is all some odd herd mentality that's downvoting this post. Selecting "print" brings up a considerably less fettered view of the email. From there, view source is much easier to use, as you don't have to contend with all the html from the gmail interface. – matty Sep 13 '16 at 6:33
  • This worked for me. Thanks @ki8asui – Gokul Mar 27 at 10:53

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.