502 Bad Gateway
Do you get this on device main UI as well or just apps?
All apps stopped working?
There is an ongoing issue with nextcloud and people fix it by disabling notifications app: Nextcloud update failure - #14 by marxistvegan
But I am not sure about Mail app (it was not updated recently).
Can you still send the logs so I can look at them?