Jump to content
mac98aop

Quick search for Mail.app keywords

Recommended Posts

Hi there

 

I'm spending too long sifting emails (even though I'm an 'inbox zero' kind of guy!) 

 

Can Alfred help? If I know who sent it, and a couple of keywords from the email, will Alfred make some suggestions? Because of all the threads etc, it can otherwise feel like a needle in a haystack. 

 

Thanks so much,

 

Adam

 

Share this post


Link to post

@mac98aop I created a Mail.app workflow that I still use a lot. It's very simple, but might suit your needs too

You can search by author, subject line, content, etc... Of course, you could create your own keywords to search for combinations thereof, or for other available metadata :)

 

Cheers,
Vero

 

Share this post


Link to post

Thanks. Really kind.

 

I have that workflow already, and really appreciate your reply. Thing is, in giving me a long list of potentials matches, it doesn't hugely help.

 

Perhaps you can help. 

 

If I want to find an email that I know Jonny sent, and somewhere it had the words 'preference' and 'June', is there a way I can help Alfred find it?!?

Share this post


Link to post

@mac98aop Take a look at the workflow's objects, then duplicate them and modify them to your own needs...

 

For example, the "emfrom" object searches Authors and Email addresses. You could add/remove Metadata fields to customise the search, and add content too.

 

Screen Shot 2018-07-27 at 10.35.37.png

 

Now, if you prefer to split the queries, e.g. email from Jonny, THEN say what content to search for, here's a more advanced workflow, which dynamically configures the file filter.

 

With this workflow, first type the name of your sender and press Return. Next, type the content you want to search for to filter your search results. 

https://www.dropbox.com/s/bht1bypqnaavmtd/Search Email by Author then Content.alfredworkflow?dl=0

 

Screen Shot 2018-07-27 at 11.15.35.png

 

This two-part workflow uses a JSON object in the middle to dynamically set the sender in the File Filter.

 

I've also had a chat with @Andrew, as this has given us ideas on how to improve and simplify multi-argument searches for the future :) So you can look forward to even simpler ways of creating workflows like this one.

 

Don't hesitate to modify this workflow and play with it to suit your own needs, and let us know how you get on!

 

Cheers,
Vero

 

 

Share this post


Link to post

@mac98aop I've made it so you can use it as-is, and should work great for the use you described, so don't worry if you don't feel like fiddling with it any further :)

 

Cheers,
Vero

Share this post


Link to post

Brilliant, thanks! Yes, it works well. Trouble is, it doesn't find the email I've lost. 

 

So, that suggests it's in the ether!? I fear that my sync isn't quite right from Mac to iPhone.

 

But your workflow is brilliant and finds all others superbly. My adding Meta Data etc sounds fun, but will need to find time to experiment as I'm new to such things!

 

Keep up the good work.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...