Ah this I can actually comment on.
All modern Android email apps use what's essentially a web browser to display message content, with UI elements overlaid on top.
For this to work, the content of HTML messages has to be pre-processed - things like removing scripts, blocking external links (if needed), detect block quotes.
Gmail (parts of its code are available) uses a third party HTML parser / sanitizer which builds a complete in-memory representation of the original HTML and then transforms that.
When I started working on this technology piece (a few years ago), I looked at it and it seemed a bit slow - I thought that it was the reason why in Gmail you see a "spinning wheel" when opening a message, after the overall layout is all there but before the actual text shows.
I didn't want to have that, and was concerned about memory usage too - so wrote my own HTML / CSS parsers for the task, the code tries to avoid doing what it doesn't have to, doesn't copy the data quite so much, uses object pools to reduce memory allocation pressure and so on.
Re: users commenting on this
Mostly, users post or send emails when something's wrong
A recent example - OnePlus comes out with a *beta* of 8.0, Aqua's "pro version unlocker app" broken, completely unexpected - 1-star reviews on Play here they come, "that'll teach them"