I have been doing this for years, especially with phishing emails. You don't need to click on the link, just hover over it and look at the bottom of the page.
I hope this helps more people to avoid email scams and phishing.
And of course, remember -- the IRS does NOT have your email address and is not sending you an important email.
-- Any email from UPS or USPS that has an attachment should be deleted without opening.