{"action":"created","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/8725","labels_url":"https://api.github.com/repos/odoo/odoo/issues/8725/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/8725/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/8725/events","html_url":"https://github.com/odoo/odoo/pull/8725","id":108358370,"number":8725,"title":"[IMP] Add configurable SMTP Mail Quota","user":{"login":"wtaferner","id":362478,"avatar_url":"https://avatars.githubusercontent.com/u/362478?v=3","gravatar_id":"","url":"https://api.github.com/users/wtaferner","html_url":"https://github.com/wtaferner","followers_url":"https://api.github.com/users/wtaferner/followers","following_url":"https://api.github.com/users/wtaferner/following{/other_user}","gists_url":"https://api.github.com/users/wtaferner/gists{/gist_id}","starred_url":"https://api.github.com/users/wtaferner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wtaferner/subscriptions","organizations_url":"https://api.github.com/users/wtaferner/orgs","repos_url":"https://api.github.com/users/wtaferner/repos","events_url":"https://api.github.com/users/wtaferner/events{/privacy}","received_events_url":"https://api.github.com/users/wtaferner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-25T16:26:16Z","updated_at":"2015-09-25T23:55:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/odoo/odoo/pulls/8725","html_url":"https://github.com/odoo/odoo/pull/8725","diff_url":"https://github.com/odoo/odoo/pull/8725.diff","patch_url":"https://github.com/odoo/odoo/pull/8725.patch"},"body":"This is a new feature to make it possible to control the outgoing mail release based on a quantity which is allowed within a certain time frame. Could also be used to block an outgoing mail server completely with a limit/quantity of 0...if the use quota is not set (default) on an outgoing mail server the current workflow is not changed...\r\n\r\nHooking the ```process_email_queue``` seemed for me the right place to implement as it can handle the whole queue or just the mails given by ids...\r\n\r\nUse Case is documented by limitation of two mail providers in https://github.com/odoo/odoo/pull/6386\r\n\r\nWould appreciate your review (@beledouxdenis @fpodoo @tde-banana-odoo @pedrobaeza @Yajo), opinion and hopefully a good to go and successful merge at some point to land in v9. If it is too late for v9 I can rebase for master. \r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/odoo/odoo/issues/comments/143379212","html_url":"https://github.com/odoo/odoo/pull/8725#issuecomment-143379212","issue_url":"https://api.github.com/repos/odoo/odoo/issues/8725","id":143379212,"user":{"login":"pedrobaeza","id":7165771,"avatar_url":"https://avatars.githubusercontent.com/u/7165771?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrobaeza","html_url":"https://github.com/pedrobaeza","followers_url":"https://api.github.com/users/pedrobaeza/followers","following_url":"https://api.github.com/users/pedrobaeza/following{/other_user}","gists_url":"https://api.github.com/users/pedrobaeza/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrobaeza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrobaeza/subscriptions","organizations_url":"https://api.github.com/users/pedrobaeza/orgs","repos_url":"https://api.github.com/users/pedrobaeza/repos","events_url":"https://api.github.com/users/pedrobaeza/events{/privacy}","received_events_url":"https://api.github.com/users/pedrobaeza/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T23:55:06Z","updated_at":"2015-09-25T23:55:06Z","body":"As this changes the database model, it should be spotted to master branch, not 9.0 that already has the data layout frozen. In a first sight, you introduce a lot of other stuff that it's not mention, like a log system. I think you should split each feature in a PR to be better reviewed and/or accepted/refused not in a pack."}}