Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to display my Google Apps mails on my website homepage, in a google gadget. So, I want to fetch all mails of my google apps account using javaScript. Is there any way to access mails ?

share|improve this question

Google doesn't support any special API for the GMail. All you can do is to enable POP/IMAP from the settings and taking it over from there it whatever language you want.

share|improve this answer
Can I use MIME ? – user7354 Dec 31 '10 at 12:36
@Sarang MIME is not a protocol. – Lipis Dec 31 '10 at 13:05
Ya. But, however, I need not to enable POP/IMAP. Some iGoogle Gadgets fetched gmail & show on iGOogle Page. Then how do we do this with our personal domain mails without enabling POP/Imap ? – user7354 Jan 3 '11 at 11:05

I believe Google has a Gmail gadget for your iGoogle page available at this link - http://www.google.com/ig/adde?moduleurl=builtin_gmail.xml&source=imag

you can also search for gadgets with the term "check email"

Be warned, that there might be some unscrupulous / malicious code out there.

Ideally, if it's only notification you want, use official notifiers from service providers or an offline client. Preferably, one that connects securely.

share|improve this answer
That is for Gmail. Sorry, for that I forget to mention regarding Gadget of personal mail domain. – user7354 Dec 31 '10 at 12:34
Is your personal domain powered by Google Apps? – Sparx Dec 31 '10 at 12:56
Yes. It is powered by Google Apps. – user7354 Jan 3 '11 at 11:03
It is not only the notification. But, I want to show last 10 mails gadget (with From : Subject & on clicking, it will open Domail mail) on the Homepage. – user7354 Jan 3 '11 at 11:10

You could simply embed http://m.gmail.com in an iframe. Gmail also offers RSS feeds, but only for unread mail and it's a password-protected feed.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.