Thanks Niklas for your excellent work! I've read your blog post, and quickly had a look at the account-polld code. I have a few remarks, which I'm presenting in a strictly random order :-)
- You don't need to create an account plugin for GMail. GMail uses the google account, so for GMail account-polld can simply ship a .service file containing the needed imap parameters - GMail can use OAuth: https://developers.google.com/gmail/oauth_overview (you can have a look at Dekko's code for details) - Stressing the above point :-) I believe that OAuth is almost a must, if you want to support 2-factor authentication (I know there are ways around it, but they are not convenient for the user, and OAuth offers better security) - But yes, we can have a generic IMAP plugin for other account types - Online Accounts offers an account plugin for SASL. It's not packaged to Ubuntu, but only because no application has used it so far. We can add it, the code is here: https://gitlab.com/accounts-sso/signon-plugin-sasl/tree/master (I'm not sure whether this will make your life easier or harder, since this plugin, unlike all the others, is interactive: the client should invoke it every time a challenge is received from the server -- but I thought I'd mention it anyways) - I see a lot of data files in your branch, probably related to character encoding; I wonder if you could use a library instead? Maybe GLib offers the functionality you need? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to account-plugins in Ubuntu. https://bugs.launchpad.net/bugs/1421923 Title: No notifications for new mails Status in Online Accounts: Account plugins: New Status in Dekko: Triaged Status in account-plugins package in Ubuntu: In Progress Status in account-polld package in Ubuntu: In Progress Bug description: Hi! In the BQ E4.5 Ubuntu Edition, I'm not getting notificactions for new mails. Testing (by example) 1. Kill Dekko. 2. Send you an email. 3. Open Dekko. 4. Change quickly to another app before Dekko starts. 5. Bug: No notification 6. Go to Dekko: You'll see your new mail. FYI as improvement, for me, in Dekko is not clear if Dekko checks the mail after X minutes or is a push notification. Thanks in advance! To manage notifications about this bug go to: https://bugs.launchpad.net/account-plugins/+bug/1421923/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp