Opening email from notification returns you to Inbox instead of home screen

What happened?
After opening an email from a notification, you are returned to the Inbox after reading the email.

What did you expect to happen?
To be returned to the app home screen after swipi my out of the email.

Steps to reproduce
Open email from notification and swipe out of the email

What mail provider(s) are you using?
Gmail

What version of iOS?
iOS 17 beta 2

What build number of Big Mail?
(You can find this in TestFlight)
36