And what you're linking to is NOT what you described, "in order to provide more targeted advertisements".
Your links are describing Gemini integration. If you ask Gemini a question about your e-mails, obviously it needs to look at them. If Google is suggesting a smart reply, obviously it needs to process your e-mail to do so. But these are features designed to benefit the user.
You were talking about target advertising. That's not what your links have anything to do with.