We have moved to a new Sailfish OS Forum. Please start new discussions there.
384

IMAP IDLE / IMAP Push for the E-Mail app [released]

Tracked by Jolla (In progress)

asked 2013-12-24 20:47:52 +0300

ibins gravatar image

updated 2015-05-06 17:47:49 +0300

chemist gravatar image

What can I say: There is more than GMail and Exchange. Even smaller hosting companies already provide IMAP IDLE (like http://df.eu) for none or very little money.

EDIT 21-01-2015 - Announced as upcoming feature here

EDIT 20-04-2015 - Will be in 1.1.4, as stated here.

EDIT 04-05-2015 - Actually released in 1.1.4.29 for all users here

edit retag flag offensive reopen delete

The question has been closed for the following reason "released in a software update" by ApB
close date 2015-05-04 17:43:53.194931

Comments

4

I rather see a uniform single inbox for multiple email providers

Aad 't Hart ( 2013-12-24 20:52:00 +0300 )edit
33

I concur: IMAP IDLE support is absolutely needed. I had it on my N9 already, and it is really unpleasant to switch to an email client that doesn't support it.

clau ( 2013-12-25 12:23:29 +0300 )edit
8

Would be also nice for it to understand threads and be able to send email in plain text instead of HTML

viq ( 2013-12-25 14:04:47 +0300 )edit
10

To be honest I didn't expect Jolla mail client to be lacking IMAP push/idle support from beginning. Hopefully this will be included in next release. The overall reliability and ease of use of mail client in Jolla needs to be revised and really worked extensively on(UI, features, options, settings).

zlatko ( 2013-12-25 21:37:31 +0300 )edit
4

zlatko, unfortunately the current situation is even worse: the automatic sync is broken too. I have it set to 5 minutes and often enough tens of minutes pass before I do a manual update and I see any new email.

clau ( 2013-12-26 01:11:53 +0300 )edit

4 Answers

Sort by » oldest newest most voted
14

answered 2014-12-03 00:26:10 +0300

eworm gravatar image

IMAP IDLE can monitor just one folder. Would be nice to have IMAP NOTIFY (https://tools.ietf.org/html/rfc5465) instead...

edit flag offensive delete publish link more

Comments

Even having notify support for a single folder would be a great boon for me: I have a special folder for priority mail that should trigger notifications (I don't expect notifications from the main INBOX, I use it more asynchronously).

Ivan Vilata-i-Balaguer ( 2015-03-11 22:09:25 +0300 )edit

Looks like neither dovecot nor cyrus support NOTIFY right now. Did I miss something? Is there a similar alternative that does?

WhyNotHugo ( 2015-04-25 07:42:36 +0300 )edit
3

answered 2015-03-24 03:39:29 +0300

WhyNotHugo gravatar image

Release candidate for 1.1.4 seems to implement IMAP IDLE (source):

IMAP idle/push support for mail accounts

edit flag offensive delete publish link more

Comments

works like charm - changed setting for my peak to "Always-up-to-date", all apps closed, notify aboud new email with max delay from thunderbird

dovecot-imapd

pan tau ( 2015-04-25 06:05:00 +0300 )edit
1

answered 2014-06-20 15:31:21 +0300

cvp gravatar image

any new news about imap idle?

edit flag offensive delete publish link more

Comments

1

Update 8 will -probably- bring per account sync schedule which @VDVsx said is a prerequisite. I suspect -pure speculation here- it will be in update 9 or 10.

ApB ( 2014-06-20 16:32:05 +0300 )edit
4

Yes enablers are now in place, unfortunately there are some not related nasty bugs around that need attention before introduction this new feature, so can't promise atm.

VDVsx ( 2014-07-15 09:30:42 +0300 )edit
1

@VDVsx Can you update us on the status of IMAP IDLE implementation? Can we expect it before year's end?

zlatko ( 2014-08-21 08:03:26 +0300 )edit
5

No promises, at the moment it just needs integration with the system(i.e few strings in acctts + integration with msyncd scheduler), works well by my tests, but unfortunately I got some other tasks and was unable to finish it. When latest code is released would be possible to enable from command line at least.

VDVsx ( 2014-08-21 09:41:32 +0300 )edit
3

@VDVsx Thank you for the info! :) Sounds promising. CLI is OK, it can be even used for community testing like the connman patch before releasing. :)

zlatko ( 2014-08-21 10:01:04 +0300 )edit
1

@zlatko - If you want to try already, using update8 and if you have accounts-tools installed:

ag-tool list-accounts // Locate the account id
ag-tool update-service ACCOUNT_ID email string:imap4/pushEnabled=1 // replace the acct_id 
ag-tool update-service ACCOUNT_ID email string:imap4/pushFolders=INBOX

For Gmail accounts replace the 'email' above by ''google-gmail".

It maybe be flacky when password change, also it does not connect immediately after network is up after a drop, there's a reconnection timer that is used as per IDLE recommendations only in place (ofc this will be change to attempt connection immediately)

To disable again:

 ag-tool update-service ACCOUNT_ID email string:imap4/pushEnabled=0 // replace the acct_id
VDVsx ( 2014-08-21 11:47:51 +0300 )edit

@VDVsx Great! My Jolla is on its way back from repair and I will try immediately after I have with me. Thank you once again!

zlatko ( 2014-08-21 12:16:58 +0300 )edit

@VDVsx

Nice to hear you are making progress on it. Its quite an important feature. Hope you have it finished soon. Not that we put pressure on you but we do. (pulls out the whip) :P (j/k)

ApB ( 2014-08-21 14:28:15 +0300 )edit

@VDVsx I have enabled IMAP push on my Jolla as you described above, but seems there is no effect. Current settings concerning push are as follow:

imap4/pushCapable = 1
imap4/pushEnabled = true
imap4/pushFolders = INBOX

I did this as nemo. Do I need to do something extra? Restart service?

zlatko ( 2014-08-25 20:23:45 +0300 )edit

@zlatko - Sorry current version, you need this command instead:

ag-tool update-service ACCOUNT_ID email string:imap4/pushEnabled=1 // replace the acct_id
VDVsx ( 2014-08-25 21:21:09 +0300 )edit

@VDVsx Thank you - working OK now! :) I will monitor and report back issues(if any!) and energy consumption.

zlatko ( 2014-08-25 21:34:14 +0300 )edit

@zlatko - Good, there's no platform integration whatsoever yet there, so there are several known issues related to network drops and device deep sleep at least :)

VDVsx ( 2014-08-25 22:52:58 +0300 )edit

@VDVsxAfter one day using IMAP push(2 GMail accounts, one of them configured as "simple" email) - sync is sporadic, I get on time 1 in 5-6 mails. But I am not sure if the problem is not the same as with Exchange since 1.0.8.19: https://together.jolla.com/question/51822/bug-exchange-sync-fails-regularly-after-10819/

zlatko ( 2014-08-27 01:11:16 +0300 )edit

@VDVsx I have been using Jolla with push enabled since 10 days. Energy consumption seems not affected(at least noticeably). I notice that usually when device is used actively - message are received timely, but when device is dormant(idle) - messages push fails. But all is quite usable. Would love to have stable operation with next release, even without GUI part.

zlatko ( 2014-09-05 08:33:03 +0300 )edit

@zlatko - Thanks for the feedback, that's expected since there's no 'keepalive' active for this operation yet.

VDVsx ( 2014-09-05 09:06:20 +0300 )edit

@VDVsx Thank you! Unfortunately that means that power consumption can not be estimated.

zlatko ( 2014-09-05 14:28:43 +0300 )edit

@VDVsx - with the slight delay of Update9 was there time to include IMAP push keepalive timers(and GUI)? I notice it works very well when device is charging and does not fall into deep sleep.

zlatko ( 2014-09-28 09:45:26 +0300 )edit
2

@zlatko - I added the keepalive stuff already should improve that, probably will be in update10, GUI stuff not, since I'm assigned to some other tasks can't work on this atm.

VDVsx ( 2014-09-29 10:03:24 +0300 )edit
1

@VDVsx - great news! So no more than 2 months wait to get a reliably working IMAP push :)

zlatko ( 2014-09-29 10:31:51 +0300 )edit

Any update now that u10 is out?

ApB ( 2014-12-18 20:54:32 +0300 )edit

Is not there, otherwise would have been mentioned in release notes.

VDVsx ( 2014-12-18 20:55:31 +0300 )edit
1

I know. I was asking about its status ie. have you implemented and been testing any GUI in a personal repo or whatever and stuff like that. And maybe an updated ETA.

ApB ( 2014-12-18 21:03:47 +0300 )edit

This works quite fine at the moment, however when I turn off Wifi, it keeps bothering me to turn it back on every minute or so, which is a "bit" annoying

simonschmeisser ( 2015-01-26 17:16:21 +0300 )edit
1

answered 2015-04-22 11:11:43 +0300

carepack gravatar image

Hi,

since 1.1.4.28 the imap push function is implemented. But it seems not to work correct in my case. I readded the account already. On the cover of the email app I see the last fetching email time.

Is it for you working correct?

edit flag offensive delete publish link more

Comments

Do you have the "Always-up-to-date" option in the settings for that account ? If so and enabled you can try to send emails to the device, they should arrive almost immediately depending on your provider.

VDVsx ( 2015-04-24 09:53:43 +0300 )edit

rly it doesnt work as expected.

after system update to 1.4 i set allways-update and as mail client was already openned, maybe i did manual update, it worked. then i set offpeak to twiceday, peak (starting monday at 9) allways-up-to-date

i restarted phone yesterday and didnt touch email, this morning when i took phone at 10'clock i was expected to see new emails (peak 9-17), but nothing, i had to open mail, update and then i got them all, so i close email client, asked for test email, and it arrived and i got notifications

so there is no connection to server after phone fresh boot until mail is openned (synced)

pan tau ( 2015-04-27 11:23:54 +0300 )edit

That shouldn't be needed, but I noticed that network is not notifying all the time, specially when you alternate from wifi to mobile or vice-versa.

VDVsx ( 2015-04-27 11:34:29 +0300 )edit

today i rebooted in peak time and got emails right after phone boots, will see tomorrow morning :) i dont switch from wlan to mobile ...

i disabling mobile data sometimes, will see if it start notify or not after got back online

pan tau ( 2015-04-27 22:40:44 +0300 )edit

@pan tau - So you have mobile data on ? or also wlan sometimes ? what I meant is automatic switch the phone does that when there are available known wlan networks.

VDVsx ( 2015-04-28 08:57:41 +0300 )edit

Question tools

Follow
61 followers

Stats

Asked: 2013-12-24 20:47:52 +0300

Seen: 5,797 times

Last updated: May 04 '15