Gmail- mail sender script

hi all,
I’m trying to create an automation test that sends an email with a pdf attachment by Gmail.
the problem is that some objects can not be captured.
does anyone have an idea or script that can send emails easily?


You should probably fix that first. What “objects” cannot be captured?