1

I have some senders (like Amazon) whose emails lose relevance after 30 days for me. I am trying to write a Shortcuts that can search for emails from those senders and delete them after 30 days. I intend to run the Shortcut as an automation every day.

When I open the Shortcuts app on macOS (Sonoma 14.2.1) I see an action 'Find Message'. But I am not able to enter the email ID manually in the action.

enter image description here

When I open the Shortcuts app on iPhone (iOS 17.2.1) I see action 'Search in Mail'. It allows me to search on a text and ends up opening Apple Mail on iPhone

enter image description here

Is there any way to achieve this functionality?

1 Answer 1

2

You can do this in the regular Mail Rules.

enter image description here

If all conditions are met:
From contains amazon
Date received is greater than 30 days.

Delete messages.

2
  • Wasn't aware of that. How often/when are these rules evaluated?
    – nohillside
    Jan 4 at 13:28
  • 1
    As far as I know, every time new mail comes in, it runs all rules; or you can apply to a selection on the right click menu.
    – Tetsujin
    Jan 4 at 13:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .