I just found out that iOS already has this feature, but the way in which you enable it is quite hidden. In the Settings app, go to the settings for Mail, then change ‘Mark Message as Read’ to ‘Immediately’.
https://mastodon.social/@jeffreykuiken/115299534788314841
https://mastodon.social/@jeffreykuiken/115299534788314841
