In the account settings (Settings, tap Manual setup, tap Accounts, tap account) you can enable *Leave deleted messages on server*.
In the account settings (Settings, tap Manual setup, tap Accounts, tap account) you can enable *Leave messages on server* and *Leave deleted messages on server*.
*IMAP*
*IMAP*
Since the IMAP protocol is meant to synchronize two ways,
Since the IMAP protocol is meant to synchronize two ways,
deleting a message from the device would result in fetching the message again when synchronizing again.
trashing (=move to trash) and (permanently) deleting messages will be performed on the email server too,
so that the message list is the same for all connected clients.
Deleting a messages from the device only won't work because it would be synchronized again later.
However, FairEmail supports hiding messages,
However, FairEmail supports hiding messages,
either via the three-dots menu in the action bar just above the message text
either via the three-dots menu in the action bar just above the message text (you can configure a button for this via the same menu)
or by multiple selecting messages in the message list.
or by multiple selecting messages in the message list.
Basically this is the same as "leave on server" of the POP3 protocol
Basically this is the same as "leave on server" of the POP3 protocol
with the advantage that you can show the messages again when needed.
with the advantage that you can show the messages again when needed.
Note that it is possible to set the swipe left or right action to hide a message.
Note that it is possible to set the swipe left or right action to hide a message.
There is a button in the behavior settings to quickly configure the swipe left and right actions for all IMAP account.