Error when trying to view an email from a user's preference page

I wonder where the undefined-renamed query parameters are coming from?