Jim said:
With a gmail app I can 'archive' an email from the inbox and it stays
in the all-mail folder, but disappears from the inbox.
So how is this a question about Outlook? Apps exhibit their own
behavior.
Is there a way to delete from inbox without removing from all mail?
From Gmail's own online help:
All Mail is your archive, a storage place for all the mail you've ever
sent or received, *but have not deleted*.
To archive mail:
1. Select the message(s) you'd like to archive by checking the box (es)
next to the sender's name.
2. Click Archive at the top of your inbox.
In contrast, read the first line at:
https://support.google.com/mail/answer/78755?hl=en
So Google doesn't know how their customized server-side behavior works.
They say a deleted item will disappear from the All Mail folder. Then
they say deleting an item will leave a copy on the All Mail folder.
You sure you configured the IMAP account in Outlook so the root-level
folder is "[Gmail]"? Or are you even asking about how to use Outlook
since you started with "with a Gmail app"?
https://support.google.com/mail/answer/82367?hl=en
Here they say that moving an item to the Trash folder marks it for
permanent deletion (whenever Gmail happens to perform a cleanup of your
account, like in a week). Well, permanent implies it won't be anywhere
in your account. If you are asking about Outlook then deleting there
means to move an item into Deleted Items (Trash) folder. Their solution
is "We strongly recommend that you do not set either of these folders as
the trash folder for your email client." You'll have to configure your
e-mail client to NOT move deleted items into the [Gmail]/Trash folder
but instead into some local-only folder known only by your e-mail client
(e.g., Deleted Items). Your e-mail client has no knowledge of their
special server-side "archive" function that isn't part of IMAP.
If you're expecting Google to comply with IMAP standards then you'll be
disappointed. They have their own server-side behaviors which don't
match up with standard IMAP behavior. E-mail clients know IMAP, they
don't know gIMAP (Google's flavor of IMAP).