When a request fail due to a database concurrency error, the request is replayed. However, the `mail` overwrite of /longpolling/poll requests modified its arguments inplace, which lead to a sanity check to failed in case of retry. Fixes #13121
When a request fail due to a database concurrency error, the request is replayed. However, the `mail` overwrite of /longpolling/poll requests modified its arguments inplace, which lead to a sanity check to failed in case of retry. Fixes #13121