How can I create a task where it logs into a specific email account and searches for a specific email and then clicks a link within that email?
I have no idea why you'd ever need to do something like this, but I guess I'm not one to judge. Here's a trick I've used in the past:
1) Open the email
2) send keys (cntrl + f)
3) send keys ('whatever the anchored text will be')
4) search for image (highlighted text) + move mouse to image when found
5) send left mouse click.
To pull this off, you manually complete the task first. Once you've found the highlighted text with the find function, use the in-program screencap to select the highlighted text, while ensuring that the top left pixel is part of the colored portion that is highlighted (so for me that's blue).
The end result is that the comp opens ur email, sends a find command to highlight the anchored text, moves me the mouse to the highlighted text that you just searched, and then clicks on it...which will activate the link and send you to the destination.
Another option (depending on your email provider) would be to download the email in HTML (ie. download webpage command), parse the text for the anchoring link, and then open a new window with that link...that'd be more efficient, but requires a bit more work.