Swipe to Archive instead of Delete in Mail.app on El Capitan OS X 10.11 (El Capitan) introduces the ability to swipe left on conversations in Mail.app in order to send them to trash:



However, judging from the available settings, it does not seem to be possible to make the swipe action "Archive" instead of "Trash", as it works on iOS.

Is there any way to change the action from "Trash" to "Archive"?
Open Mail > Preferences > Viewing and change "Swipe Left To" from Trash to Archive (5th line down).

For macOS Sierra, its a little different.