Unified inbox or incoming messages view

Status
Not open for further replies.

Commodore

Senior Member
Outlook version
Outlook 2021 64 bit
Email Account
IMAP
Is there any way to create some sort of a unified view of two or three IMAP inboxes in one place (in local installation of Outlook 2010)? Something like iOS has in its native mail app, All Inboxes.
 
Managed to create it. So that's basically a search folder. If I keep it open, will it refresh automatically (so whenever an IMAP server gets a new message, it'll be displayed here)?

BTW, what do I have to enter instead of "received: (this week)" if I want everything from all inboxes to be displayed?

(The main reason why I'd like to have this... right now I use POP3 so Outlook pulls down email and deletes it from servers. I'd like to change the "paradigm" so that inboxes stay on servers, thus I can access them from whichever device I want, and once the items have been dealt with, I will manually move them to local folders in Outlook. And no, I don't want to use "copies" or "leave mail on servers" to complicate things. :) )
 
OK, I removed the "received: (this week)" part, and now it shows all items. It seems the "folder" is not auto-refreshed. Is there any way to make this happen (I guess this could replace automatic send/receive if I switch them all to IMAP)?
 
One last "edit"... turned out it was my mistake -- the view is refreshed automatically, I just forgot to include the IMAP server in the scheduled Send/Receive group.

One question does remain... when I move a message from here to another (local) folder, it only gets crossed in its original IMAP inbox (i.e. marked for deletion). How can it be automatically purged from the server then? Should I uncheck "Purge items when switching folders while online"? It's not really practical then, if you have to click the IMAP's PST and then click various folders there just to achieve the purge.
 
I haven't had a chance to test the different purge settings so I'm not sure if unchecking the purge options will purge anything. I hadn't thought much about it until someone had problems with outlook.com imap yesterday.
 
From what I've been able to find (and try out), the "Purge items when switching folders while online" does just that, i.e. expunges messages marked for deletion when you leave the folder (or select another one and come back; I've unchecked the setting, and the messages now stay there). Not really useful in my case, especially if I want to have the "unified inbox" as the central point. Seems like there's no way to automatically purge messages marked for deletion, or I wasn't able to find one yet.
 
Addendum: The to-be-deleted messages, shown with strike-through in Outlook, are local only. They have in fact been removed from the server (checked via webmail). As to how to purge them in Outlook (other than having "Purge items when switching folders while online" checked, and clicking another folder), I have no idea. Maybe on shutdown.
 
From what I've been able to find (and try out), the "Purge items when switching folders while online" does just that, i.e. expunges messages marked for deletion when you leave the folder (or select another one and come back; I've unchecked the setting, and the messages now stay there).

This is the behavior i expected, but I'm surprised they are removed online with this setting, I thought it was mark for deletion everywhere. Guess its time to do some testing and write it up. :)
 
After I shut down Outlook and started it again, I can confirm the "deleted" messages are still there, displayed with strike through. So far it seems the only way to purge them is to have the "switching folders..." option on. :/

Any idea why the Quick Access button for my Unified Inbox search folder macro doesn't react now anymore? I click it, nothing happens. (The macro is still there, if I open the editor with ALT+F11, though.)
 
That was my first guess too. But it didn't make a difference:

The setting was on "Notifications for digitally signed macros, all other macros disabled" (same as always, including previous sessions when it worked).

I tried changing it to "Enable all macros". Nothing.

I changed to "Notifications for all macros" (which I kept for now), still nothing.

However, if I go to the editor with ALT+F11, and try to Run the macro there, I get the dialog box "The macros in this project are disabled. Please refer to the online help...".
 
Thanks, this did the trick. I had to do it twice, for some reason, though. :)

Now I need to find out how to purge deleted/moved messages from Outlook's IMAP accounts' folders (apart from that only option "when switching between folders").
 
I wonder if empty deleted items on exit would work on items marked for purge... except i really hate that setting as it slows outlook's shutdown down.

This will purge the current folder:
Set bars = Application.ActiveExplorer.CommandBars
Set cmd = bars.FindControl(, 12771)
cmd.Execute

So... something like this:
Sub PurgeIMAP()
Set myServer = Session.Folders("alias@imapserver.com")
Set myInbox = myServer.Folders("Inbox")
Set ActiveExplorer.CurrentFolder = myInbox
Set bars = Application.ActiveExplorer.CommandBars
Set cmd = bars.FindControl(, 12771)
cmd.Execute

'When you are done purging, run the unifiedinbox macro

UnifiedInbox
End Sub

you either have to repeat the code for each inbox or walk the accounts and loop this code. For two or 3 accounts, repeating the code will be about the same length as a loop.
 
At first sight it looks like even more work than the original "switching between folders" option. ;)

Since you mention Deleted Items... If I delete a message, it goes there (and Deleted Items can be emptied via right-click, as with local folders). If I move a message to a local folder, it doesn't go there. In both cases the message gets the strike-through, remains in the local shadow of IMAP folder (with option to undelete it), but doesn't exist on the server anymore.

It's weird there's no other sane way of purging it, apart from when switching between IMAP folders...

Well, I came up with another workaround, I'm just not yet sure whether it'll work or not: I set up a filter (or another condition) on the Unified Inbox view, which will hide the "deleted" items. In addition, I turn the "Purge items when switching folders while online", so they actually get purged "casually" when I do click around. Thus, I get a clean Unified Inbox view, plus the messages get deleted eventually.

Do you think this would be feasible? Which condition or filter should I use for this (I played with IMAP Status and Remote Status somewhat, but it didn't work out the way I thought it would)?
 
Hide deleted is a standard imap view so your custom view/casual purge should work just fine.

If the messages are deleted from the mailbox, the original version of the macro was an application startup macro that purged folders on startup. But if the view/casual purge works, no need to mess with a macro.
 
Which Hide Deleted are you referring to? I found some reference to "Hide Messages Marked for Deletion" setting somewhere, but it's probably meant for older Outlook versions?

As for 2010, I tried to enter Filter, under Advanced, IMAP Status ... equals ... Unmarked. It works just fine if I open the IMAP server's Inbox directly. However, if I introduce this filter to this Unified Inbox view, the "Searching..." (along with the corresponding animation) goes on literally forever (and puts some considerable strain on CPU). Some sort of a bug, or something I've done wrong?
 
That's the one, it is a standard IMAP view in all versions of outlook. You should have it on the View tab > Change view command when in an IMAP folder.

I'll look into it - I've used custom views with instant search before, so it should work but it might be something unique to using custom views with imap accounts. (I did it with Exchange).

If you don't have custom views (or have ones you can easily recreate), try closing Outlook and restarting with the /cleanviews switch -

In the Start menu, search field (or use Windows key+R to open the Run command), type or paste

outlook.exe /cleanviews

and press enter. Note, there is a space between outlook.exe and the /.

I'm not sure it will fix your problem though... but if you aren't using views that will be a pain to recreate, it's worth a short.
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
M Start Outlook 365 at unified inbox Using Outlook 2
Commodore Unified inbox shows moved messages for a while Using Outlook 4
D Multiple EAS Accounts - One Unified Inbox? Using Outlook 4
C Unified task list Using Outlook 1
HarvMan Outlook 365 Inbox Font Using Outlook 8
F Inbox moves on taskbar Using Outlook 1
F Outlook 365 Group INBOX by date but not by date and time Using Outlook 1
T Outlook 2010 Sub accounts not showing new emails in Inbox Using Outlook 4
F Color code certain INBOX emails Using Outlook 2
K vba code to auto download email into a specific folder in local hard disk as and when any new email arrives in Inbox/subfolder Outlook VBA and Custom Forms 0
J Outlook 365 Forward Email Subject to my inbox when new email arrive in shared inbox Using Outlook 0
P "Item could not be moved" message occurs frequently for IMAP inbox, Office 365 Using Outlook 0
D Gmail mail is being delivered to a different email inbox in Outlook App 2021 Using Outlook 2
S Format Inbox Using Outlook 0
J How to create a drop down user defined field that will appear on an inbox view Outlook VBA and Custom Forms 8
P Emails assigned with a certain category (within a shared inbox) to be copied to a specific folder. Outlook VBA and Custom Forms 2
O Moving "tasks" to inbox in Outlook 2016 Using Outlook 1
A Imap account not auto syncing inbox at startup Using Outlook 0
S Outlook 2016 dont delete inbox item Using Outlook 0
F Jump to Inbox folder when click on Favorite Using Outlook 8
R Moved 6 months worth (approx 1500 emails) lost from moving from TPG inbox to Icloud inbox (folders) Using Outlook 3
S Problem Checking the available stores in my Inbox (Outlook VBA) Outlook VBA and Custom Forms 0
S Outlook VBA How to adapt this code for using in a different Mail Inbox Outlook VBA and Custom Forms 0
A Inbox didn't got read Outlook VBA and Custom Forms 0
A Unflag Inbox and Flag Inbox with Orange Category After Item is send Outlook VBA and Custom Forms 3
glnz O365 - How to combine the Inboxes for four email accounts into a single Inbox Using Outlook 7
S Macro to move “Re:” & “FWD:” email recieved the shared inbox to a subfolder in outlook Outlook VBA and Custom Forms 0
S Outlook Macro to send auto acknowledge mail only to new mails received to a specific shared inbox Outlook VBA and Custom Forms 0
G Inbox shows old email Using Outlook 3
C Configuring Inbox columns Using Outlook 2
D Inbox column color coding Using Outlook 2
R Outlook 2010 How do you export 2 email Accounts' 2010 Inbox Files to new computer (2019)? Using Outlook 0
J Collaborative Inbox Using Outlook 1
M Missing emails in Inbox, but are present in webmail Using Outlook 0
R List folders in a combo box + select folder + move emails from inbox to that folder + reply to that email Outlook VBA and Custom Forms 1
H Upon opening Outlook, make my popmail inbox open instead of outlook.com inbox Using Outlook 1
P Outlook Mobile App Doesn't Refresh Inbox Using Outlook 0
H In outlook 365 POP mail Inbox, email takes a long time or never arrives. Using Outlook 1
K No emails in inbox Using Outlook.com accounts in Outlook 1
D Unopened message in inbox deleted and not in deleted items Using Outlook 3
R Exporting recovered Deleted Items outside the Inbox Using Outlook 1
N Focussed Inbox Rules Failing Using Outlook 5
M Inbox not showing to deliver new email to this account Using Outlook 3
mctabish Setting "Reply To" based on inbox Outlook VBA and Custom Forms 2
T Inbox Sub-Folder - Web Using Outlook 1
P Two main Outlook gripes: Voting buttons not working externally nor Focused Inbox Using Outlook 1
P when i move inbox mails to another folder in outlook the mail disappears Using Outlook 1
B VBA Macro for assigning multiple Categories to an email in my Inbox Outlook VBA and Custom Forms 1
N Syncing my inbox not working for certain types of mail Using Outlook 9
D How to handle filing of emails from an Inbox Subfolder to a specific Public folder Using Outlook 1

Similar threads

Back
Top