Automate 'Hide My Email'

I would like to automate opening the Hide My Email panel in Preferences using a KM macro. After opening Sys. Prefs. I could use image matches to click on Apple ID, iCloud, Hide My Email, but an Applescript seems sexier. Couldn't find anything in the forum. Is this doable? Thanks in advance.

I'm using KM10 and Monterey.