-
-
Notifications
You must be signed in to change notification settings - Fork 38
update gmail.md to add warning about ratelimits #321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
gmail has a 500 correspondants limit per day, after which it stops sending messages to people, this should be alerted to users before they try to use their gmail account with DC
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's a good hint, maybe a bit long; not sure how it is displayed in the app. Let's wait for a second opinion.
don't think there's like another way to rewrite it to make it shorter, since just saying there's a ratelimit might make users think that the ratelimit works differently, or that its less severe than it really is |
delete_to_trash: true | ||
before_login_hint: | | ||
For Gmail accounts, you need to have "2-Step Verification" enabled and create an app-password. | ||
For Gmail accounts, you need to have "2-Step Verification" enabled and create an app-password. Gmail also has a 500 correspondents limit per day (if you have a group chat with 100 users, sending 5 message is enough to reach the limit.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You may see this message if you send an email to a total of more than 500 recipients in a single email and or more than 500 emails sent in a day.
So, in fact there are two separate limits with the same value of 500. Gmail doesn't multiply number of messages by number of recipients. I use Gmail and can confirm this, i definitely have sent more than 100 messages in a day in groups of more than 10 participants.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, that means it is less severe.
As Delta Chat splits up the mail into several smaller ones, you will never send to 500 recipients in a single email, so it can be shortened tremendously, as its only about 500 messages per day.
That might limit some people, as webxdc updates & read receipts are also single mails.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For Gmail accounts, you need to have "2-Step Verification" enabled and create an app-password. Gmail also has a 500 correspondents limit per day (if you have a group chat with 100 users, sending 5 message is enough to reach the limit.) | |
For Gmail accounts, you need to have "2-Step Verification" enabled and create an app-password. Gmail limits how many messages you can send per day. |
This should be enough to discourage users, but give them a clear hint on how to improve their situation if they use Gmail anyway (disabling read receipts).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You may see this message if you send an email to a total of more than 500 recipients in a single email and or more than 500 emails sent in a day.
Btw, this may also be interpreted like Gmail sums unique recipients from all daily emails. But i can't say much here, i've never messaged > 500 recipients in a day.
As for read receipts, i'm not sure. Never had problems because of them. Gmail says that these limits exist "To help prevent spam and keep accounts safe", so i guess read receipts are irrelevant.
EDIT: But as we encrypt read receipts, they may cause hitting these limits. This needs an investigation.
EDIT: Anyway, providing a link (https://support.google.com/mail/answer/22839?hl=en#zippy=%2Cyou-have-reached-a-limit-for-sending-mail) should help users understand the limits. At least this way we aren't responsible for any incorrect interpretation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've checked that > 500 MDNs to the same contact isn't a problem. Probably to any number of contacts <= 500. Indeed it seems that Gmail counts unique recipients per day.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The link is already in the long description. Generally, tracking rate limits of all those different providers is out of scope of this project though, as they are too hard to check.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alright, cool :3
we shouldn't really overload the user with lots of numbers n info so i am going to implement the suggestion by missytake (when ever i get home lol)
also, i guesstimated the 5 to 100 limit based on the experience of a user in the DC community chat
gmail has a 500 correspondants limit per day, after which it stops sending messages to people, this should be alerted to users before they try to use their gmail account with DC, while there is a link to an article about the rate limits, i think most users, don't click on it, so it should be more explicit and in the face of the users how much the limit it
idk why i made pr message this long lmao