Jump to content

Quick search for email and messages


Recommended Posts

Hi, I've searched for quite a while and I'm not sure if I used the wrong keywords or terms, but is there anyway I can do a quick search with a name in Alfred and have conversations and emails pop up (like in Spotlight)?

 

I've reindexed everything, and I have the email and messages boxes unchecked in the don't show section in file search. I've also tried adding /Library/Messages into search scope but that didn't yield any results either. Is there anyway I can do this at all?

 

Any help would be much appreciated.

Link to post

 

9 minutes ago, Machinegun said:

I've also tried adding /Library/Messages into search scope

 

That's the wrong directory (if you're using Mail.app). It's ~/Library/Mail that you want.

 

Personally, I'd recommend creating a separate File Filter to search your emails. As above, set the Scope to the directory where your emails are stored, then drag an email file into the File Types list.

Link to post

@Machinegun Welcome to the forum! :) As @deanishe suggest, a File Filter workflow is ideal for searching specific types/locations like emails.

 

If you'd like to search Mail.app by sender, you can use this workflow if you're using macOS Mojave or older OS version.

 

[Edited to add: This workflow will only work on macOS 10.14 Mojave and older. Apple have removed access to Mail content for third parties from 10.15 Catalina onwards, so no results will be returned in these macOS versions.]

 

 

Cheers,
Vero

Link to post

Thanks for the replies and I'll definitely try it when I have the chance. Is there anyway I can do a file filter workflow with iMessage conversations?

 

Thats what I meant when I added a scope for Library/Messages but nothing still comes up or is it chat.db?

 

Edit: I figured it all out with the advanced parameters and what not. Thanks for pointing me in the right direction.

Edited by Machinegun
Link to post
  • 7 months later...

Hello 

I have the same question, I can't find in iMessage text, in alfred 3. on MacOS 10.13.4, 

 

when I update MacOS 10.12 to 10.13, alfred search iMessage can't find  in iMessage text.

 

*** Wednesday, May 2, 2018 at 19:59:51 ***

When I update "Security Update 2018-001"  https://support.apple.com/en-us/HT201222

 

I can use alfred search iMessage text.

 

At 10.13.1 - 10.13.3 can't search. 

Edited by RueiShuYe
Link to post
  • 2 years later...

@apndavies Which version of macOS are you using?

 

There was a direct link to the workflow higher up in this thread (which I've now removed, and added the caveat), so I'm guessing you haven't seen the notice in the original post here:

 

Unfortunately, this workflow is only suitable for macOS Mojave and older, as Apple have removed access to Mail content for third-party apps from Catalina onwards. As such, if you're on Catalina or Big Sur, you won't see any results returned.

 

Cheers,
Vero

Link to post
  • 3 months later...
  • 3 weeks later...
On 4/8/2021 at 4:47 AM, JackeyOL said:

@Vero Thank you very much for your reply. Is it still available to search in the mac notes?

 

Apologies for the slow reply, I seem to have missed this notification!

 

Here's one of the popular workflows for searching the Notes app:

https://github.com/sballin/alfred-search-notes-app/releases/tag/3.3.0

 

Cheers,
Vero

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...