>>>. . .
>>>How can I get the "All Mail" folder listed?
>>On your M Main > L List index screen, you should see the Folder Collection
>>you set for Gmail. You should see "[Gmail]/". Click on that. It will
>>display pseudofolders. Then you'll see "All Mail", which I suppose is
>>literally the only actual folder.
As the O.P. told you, within the settings of your Gmail account, you
must authorize access to All Mail and its pseudofolders explicitly. He
told you how to do that. I should have mentioned that.
In Gmail, deleted messages are a separate folder, not a pseudofolder
within All Mail. The purpose is to move the deleted messages out of All
Mail, holding them in another folder for 30 days, after which the system
expunges them. I can't recall if Spam is also a separate folder.
Messages live there for 30 days. I believe these defaults can be changed
in Gmail settings.
From the perspective of the IMAP user, a genuine folder versus a
pseudofolder are offered the same way.
Within alpine, enter the Deleted Messages folder and use the X Expunge
command to permanently delete a message. Within Gmail, there are
commands to empty the deleted folder.
With regard to spam messages, you'd have to be using Gmail with your
browser to unmark spam messages, which supposedly teaches Google's spam
recognition techniques. If you don't care about this, using IMAP, you
can still save a message in the Spam folder to an archived messages
folder that you maintain elsewhere.
>This looks like some interesting updates.
>I use the Roles only so that the from field is populated with an explicit value as Alpine seems to pickup the local user and pop that into the "from" field.
Roles has a huge number of features and filters based on how the message
was received and whether your email address was on To, Cc, or Bcc (in
which case it's just in ENVELOPE FROM), where it's archived, how replies
are handled, etc. It can look for a mailing list you subscribe to as
well, or Subjects can be filtered. There's a lot in this command.
It's overkill for the purpose of using exactly one email address.
An easier way would have been to set an explicit From header for a new
message or reply message in Customized Headers.