My fault sorry, I thought I had selected all! I ran the script again and had the bug occur immediately so hopefully this output may be more helpful: http://paste.ubuntu.com/806345/
The timeline of what I did is this:
-delete everything in spam and trash folders
-pkill and start script
-Send myself an email 'Test1' I also recieved another email at this point some junk about organic food!
-received notifications for both emails, timestamp was wrong in messaging menu again for both emails.
-deleted both emails from my inbox
-sent myself a second email 'Test2'
-got no notification, but unread counter in launcher changed to correct number, subject title in messaging menu was 'Test1'
-sent mself a third email 'Test3'
-got no notification, but unread counter in launcher changed to correct number, subject title in messaging menu was 'Organic food labelling'
-looking at the terminal script I could see that the new emails had been given the same numbers 1984 and 1985 as the first two emails so sent a fourth email to myself thinking it would be given number 1986 which hadn't been used yet.
-sent fourth email 'Test4'
- Recieved pop-up notification, launcher unread counter correct, correct subject title in messaging menu
-deleted all messages from inbox
-sent fifth email 'Test5'
-received no notification, launcher unread count correct, messaging menu subject title 'Test1'
Hope this can help, looks like if emails are deleted then unity-mail thinks the new ones are the actually still the old ones. Let me know if I did something wrong somewhere or you need more info
My fault sorry, I thought I had selected all! I ran the script again and had the bug occur immediately so hopefully this output may be more helpful: http:// paste.ubuntu. com/806345/
The timeline of what I did is this:
-delete everything in spam and trash folders
-pkill and start script
-Send myself an email 'Test1' I also recieved another email at this point some junk about organic food!
-received notifications for both emails, timestamp was wrong in messaging menu again for both emails.
-deleted both emails from my inbox
-sent myself a second email 'Test2'
-got no notification, but unread counter in launcher changed to correct number, subject title in messaging menu was 'Test1'
-sent mself a third email 'Test3'
-got no notification, but unread counter in launcher changed to correct number, subject title in messaging menu was 'Organic food labelling'
-looking at the terminal script I could see that the new emails had been given the same numbers 1984 and 1985 as the first two emails so sent a fourth email to myself thinking it would be given number 1986 which hadn't been used yet.
-sent fourth email 'Test4'
- Recieved pop-up notification, launcher unread counter correct, correct subject title in messaging menu
-deleted all messages from inbox
-sent fifth email 'Test5'
-received no notification, launcher unread count correct, messaging menu subject title 'Test1'
Hope this can help, looks like if emails are deleted then unity-mail thinks the new ones are the actually still the old ones. Let me know if I did something wrong somewhere or you need more info