I am wondering if its possible to strip/modify email headers like User-Agent for privacy purposes.
If you’re using your own email client you would have control over that as this header is not written by the server. If webmail is writing a user agent header, it’s pulling from your browser so it could be modified there. Similarly, most headers are written by the email clients.