Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for new outlook #14

Open
nckbgov opened this issue Mar 5, 2021 · 9 comments
Open

support for new outlook #14

nckbgov opened this issue Mar 5, 2021 · 9 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@nckbgov
Copy link

nckbgov commented Mar 5, 2021

Great workflow! It's does excellent job for the classical outlook application.
However, if user switches to the new outlook, the search can't find new e-mails received after moving to the new view.

workaround: move back to the old view but new outlook features are lost

image

@xeric xeric added bug Something isn't working enhancement New feature or request labels Mar 22, 2021
@xeric
Copy link
Owner

xeric commented Jul 8, 2021

After spending a lot of time to find solution that can work on new outlook, I have to fully refactor (or rewrite) whole workflow.
The new Outlook now is not writing message (Mail) information into Sqlite database anymore when you switch it to new version.
I'm starting the design working now, and hope it could get a workable version ASAP.

@pszgit
Copy link

pszgit commented Oct 24, 2021

Let us know if there is an update to great outlook search workflow. Many thanks.

@xeric
Copy link
Owner

xeric commented Nov 11, 2021

@pszgit the quite tough challenge here is there's no documentation for information regard the new Apple Script APIs for new outlook, still in investigation

@alsbjer
Copy link

alsbjer commented Nov 30, 2021

Is it possible to donate for this cause?

@xeric
Copy link
Owner

xeric commented Dec 17, 2021

@alsbjer until now, this is just because Microsoft did not update any information how to use new outlook search via applescript (it was storing mail metadata in db and had file based file metadata which we can use mdfind and mdls to get something in old version), now both of them are gone, MS did not provide how new index works, that's the key problem, I have to keep my eyes on community or internet where I can find some information of way to access mail metadata in new outlook, meanwhile I may find some clues with taking some system level analysis.
This project is my personal Interests and hobbies, donate helps nothing, but thanks anyway!

@giovannicoppola
Copy link

Hi @xeric any luck with this? It seems the new Outlook uses CoreSpotlight when offline and Microsoft search when online. Are there examples of other apps accessing the CoreSpotlight database?

@snipem
Copy link

snipem commented Apr 11, 2022

@giovannicoppola Is there any option to query CoreSpotlight from external scripts?

@giovannicoppola
Copy link

no, it sounds like they might implement Applescript at some point, but no concrete plans. Hopefully the old, sqlite-based version will be available for a while. @xeric do you plan to migrate this to Python 3? If not, I am happy to do that and send you a PR.

@xeric
Copy link
Owner

xeric commented Apr 17, 2022

@giovannicoppola I tried with mdfind and mdls but still could not find latest mail, let me check if I can get something from coresplotlight, regard py3, the only problem is it could not work fine on alfred v3, I did not purchase v4 upgrade, not sure if there's anyway that can make one extension works both on v3 and v4, if you can ensure the backward compatibility, please raise PR:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants