Hi,

I am using mutt with Gmail through offlineimap and msmtp. It works grea
except for one problem: To delete mail in Gmail it's moved to the trash
folder (or label using Gmail lingo). From there it's permanentely
deleted after 30 days. In the tutorial I used to set up mutt with Gmail
the following macro was used to move mail to the trash folder:

macro index,pager D "<save-message>+Gmail/trash<enter>

The problem is that unread (new) mail is not marked as read when it's
moved to the trash folder. I would like to have the macro to mark all
mail as read and then move it to the trash folder. I have tried to
figure out how to extend the macro to accomplish that, but I can't
figure it out. If someone could point me in the right direction it owuld
be great.

-- 
//Christian

Reply via email to