Macro for interacting with currently selected email

I want to create a macro that takes the currently selected email in Apple Mail, right-clicks on it and selects "Block Contact", then moves the email to Junk (since it appears Junk filtering alone isn't enough for some contacts). I feel like this should be relatively straightforward, but it seems that the details of doing it keep tripping me up!

Any ideas how I might approach this, please?

Hopefully you are running macOS Sequoia and thus can pop the contextual menu by keystroke:

Mail Block-and-Junk.kmmacros (4.2 KB)

Image

Pauses included in case, like me, you're on a machine that's a little slow -- change to suit your situation, or delete altogether.

1 Like

I wasn't aware of that ^Return functionality! Thank you! :sunglasses:

Thanks for asking this question, I will be using this instead. I have been using Comift (Command+Shift (⌘⇧)) + j to move to junk for years and these two macros but didn't realize there was a right click option to block sender. It seems strange to me that is not in the menu options.

Thanks for this.

I was just recently made aware of this as well from @Nige_S

Here are a few macros to finish things off.
Example(s) - Skillet Macros.kmmacros (69 KB)

Erase Junk