How to access the Gmail RSS feed?
I am trying to fetch the Gmail Inbox RSS feed using curl
:
curl -H "Authorization: Bearer <my token>" https://mail.google.com/mail/feed/atom
The above command fails to fetch the feed and I get the following in my terminal.
<HTML>
<HEAD>
<TITLE>Unauthorized</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Unauthorized</H1>
<H2>Error 401</H2>
</BODY>
</HTML>
I have read-only
access available to my token. Is it insufficient? I've also tried accessing the feed using simple GET https://mail.google.com/mail/feed/atom
command and then providing my credentials through the terminal. That fails as well. Though I am able to load it properly in my web browser. What am I missing here?
Also, I'd like to state that I don't have a GSuite account.
gmail http rss
add a comment |
I am trying to fetch the Gmail Inbox RSS feed using curl
:
curl -H "Authorization: Bearer <my token>" https://mail.google.com/mail/feed/atom
The above command fails to fetch the feed and I get the following in my terminal.
<HTML>
<HEAD>
<TITLE>Unauthorized</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Unauthorized</H1>
<H2>Error 401</H2>
</BODY>
</HTML>
I have read-only
access available to my token. Is it insufficient? I've also tried accessing the feed using simple GET https://mail.google.com/mail/feed/atom
command and then providing my credentials through the terminal. That fails as well. Though I am able to load it properly in my web browser. What am I missing here?
Also, I'd like to state that I don't have a GSuite account.
gmail http rss
Note: This feed is only available for Gmail accounts on G Suite domains.
– Sathyajith Bhat♦
Jan 20 at 13:55
@SathyajithBhat I had the same thought, but if that were the case, why am I able to access it through my web browser?
– Utkarsh Verma
Jan 20 at 13:57
add a comment |
I am trying to fetch the Gmail Inbox RSS feed using curl
:
curl -H "Authorization: Bearer <my token>" https://mail.google.com/mail/feed/atom
The above command fails to fetch the feed and I get the following in my terminal.
<HTML>
<HEAD>
<TITLE>Unauthorized</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Unauthorized</H1>
<H2>Error 401</H2>
</BODY>
</HTML>
I have read-only
access available to my token. Is it insufficient? I've also tried accessing the feed using simple GET https://mail.google.com/mail/feed/atom
command and then providing my credentials through the terminal. That fails as well. Though I am able to load it properly in my web browser. What am I missing here?
Also, I'd like to state that I don't have a GSuite account.
gmail http rss
I am trying to fetch the Gmail Inbox RSS feed using curl
:
curl -H "Authorization: Bearer <my token>" https://mail.google.com/mail/feed/atom
The above command fails to fetch the feed and I get the following in my terminal.
<HTML>
<HEAD>
<TITLE>Unauthorized</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Unauthorized</H1>
<H2>Error 401</H2>
</BODY>
</HTML>
I have read-only
access available to my token. Is it insufficient? I've also tried accessing the feed using simple GET https://mail.google.com/mail/feed/atom
command and then providing my credentials through the terminal. That fails as well. Though I am able to load it properly in my web browser. What am I missing here?
Also, I'd like to state that I don't have a GSuite account.
gmail http rss
gmail http rss
asked Jan 20 at 13:43
Utkarsh VermaUtkarsh Verma
365
365
Note: This feed is only available for Gmail accounts on G Suite domains.
– Sathyajith Bhat♦
Jan 20 at 13:55
@SathyajithBhat I had the same thought, but if that were the case, why am I able to access it through my web browser?
– Utkarsh Verma
Jan 20 at 13:57
add a comment |
Note: This feed is only available for Gmail accounts on G Suite domains.
– Sathyajith Bhat♦
Jan 20 at 13:55
@SathyajithBhat I had the same thought, but if that were the case, why am I able to access it through my web browser?
– Utkarsh Verma
Jan 20 at 13:57
Note: This feed is only available for Gmail accounts on G Suite domains.
– Sathyajith Bhat♦
Jan 20 at 13:55
Note: This feed is only available for Gmail accounts on G Suite domains.
– Sathyajith Bhat♦
Jan 20 at 13:55
@SathyajithBhat I had the same thought, but if that were the case, why am I able to access it through my web browser?
– Utkarsh Verma
Jan 20 at 13:57
@SathyajithBhat I had the same thought, but if that were the case, why am I able to access it through my web browser?
– Utkarsh Verma
Jan 20 at 13:57
add a comment |
1 Answer
1
active
oldest
votes
Instead of a token, you can try to use Basic Auth as this answer:
wget --secure-protocol=TLSv1 --timeout=3 -t 1 -q -O- "https://user:password1@mail.google.com/mail/feed/atom"
Doesn't output anything when I run this.
– Utkarsh Verma
Jan 20 at 14:00
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1396312%2fhow-to-access-the-gmail-rss-feed%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Instead of a token, you can try to use Basic Auth as this answer:
wget --secure-protocol=TLSv1 --timeout=3 -t 1 -q -O- "https://user:password1@mail.google.com/mail/feed/atom"
Doesn't output anything when I run this.
– Utkarsh Verma
Jan 20 at 14:00
add a comment |
Instead of a token, you can try to use Basic Auth as this answer:
wget --secure-protocol=TLSv1 --timeout=3 -t 1 -q -O- "https://user:password1@mail.google.com/mail/feed/atom"
Doesn't output anything when I run this.
– Utkarsh Verma
Jan 20 at 14:00
add a comment |
Instead of a token, you can try to use Basic Auth as this answer:
wget --secure-protocol=TLSv1 --timeout=3 -t 1 -q -O- "https://user:password1@mail.google.com/mail/feed/atom"
Instead of a token, you can try to use Basic Auth as this answer:
wget --secure-protocol=TLSv1 --timeout=3 -t 1 -q -O- "https://user:password1@mail.google.com/mail/feed/atom"
edited Jan 21 at 12:47
answered Jan 20 at 13:56
kenorbkenorb
11.2k1579116
11.2k1579116
Doesn't output anything when I run this.
– Utkarsh Verma
Jan 20 at 14:00
add a comment |
Doesn't output anything when I run this.
– Utkarsh Verma
Jan 20 at 14:00
Doesn't output anything when I run this.
– Utkarsh Verma
Jan 20 at 14:00
Doesn't output anything when I run this.
– Utkarsh Verma
Jan 20 at 14:00
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1396312%2fhow-to-access-the-gmail-rss-feed%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Note: This feed is only available for Gmail accounts on G Suite domains.
– Sathyajith Bhat♦
Jan 20 at 13:55
@SathyajithBhat I had the same thought, but if that were the case, why am I able to access it through my web browser?
– Utkarsh Verma
Jan 20 at 13:57