pacmax beta

Alfred Pac by xeric on GitHub

outlook

Alfred outlook mail/contact search

From their README

Discontinued Annoucement

Due to Microsoft has upgrade their storage mechanism in New Outlook (not in Sqlite anymore), they did not upgrade any AppleScript to enable mail/contact search, and I'm starting moving Quick Launcher tool from Alfred to Raycast, I decide to stop maintaining this workflow.

alfred-outlook

Alfred outlook mail search

Please notice this workflow can't work well when you troggle ‘New Outlook’!

This is an Alfred Workflow for searching Microsoft Outlook Version 16 and later.

olk | olkp | olknew | olkc

Command olk - Search email

This workflow supports searching:

  • Mail Subject
  • Mail Sender
  • Mail Preview Content

By default, it will search all three above together, you can figure out which single item you want to search with below format:

olk from:{keyword}


olk title:{keyword}

Supports multiple keywords search:

olk {keyword1} {keyword2} {keyword3}


olk title:{keyword1} {keyword2} {keyword3}

It also support get last {n} unread mail quickly:

olk recent:10

or just get today's unread mail:

olk recent:today

You can also apply some simple keywords filter on it:

olk recent:30 {keyword1} {keyword2} 

Attachment Download (Alfred V3 and up only)

After search result listed, an icon with means this mail contains attachment, Press 'CTRL' and click, all attachments will be save to disk

Default Path to save is '~/Downloads/outlook_attachments', you can change it to your preferred folder with changing Alfred Workflow Environment Variables:

  • Open 'Alfred Preferences' -> Click on tab 'Workflows' -> Choose 'Outlook Search' in sidebar
  • Click the [x] in the top right of workflow to show the Workflow Environment Variables panel
  • There is a variable named 'olk_attachment_path' with default value '~/Downloads/outlook_attachments', change it to your own folder
  • All attachments will be save to a sub-folder named with your mail subject with 'Folder Allowed Characters'
  • After attachments downloaded, saved path will be in clipboard

This workflow search result supports Powerful Pagination:

  • 'Next Page' if there's more pages available.
  • If you are using Alfred V3, Press 'CTRL' on 'Next Page' item as modifier, then it behave as 'Previous Page'

Command olkc - Configuration

You can use olkc to set some configurations for search:

olkc pagesize {number}

It will change your search result list size for every page

olkc folder

It will list all available folders in your outlook account, then select one as your default search target

olkc profile

It will list all available profiles (account) in your outlook, then select one as your preferred

olkc filter {SQL like filter}

It allows to set a SQL like filter for Subject, with '%' support fuzzy matching, for example:

  • '%test' to filter all Subjects end with 'test'
  • 'test%' to filter all Subjects start with 'test'
  • '%test%' to filter all Subject contain 'test'
  • (Limitation: only allow one filter in current version)

Command olknew - Compose a new mail

olknew {optional: email address}

There are two mode of compose a new mail in plugin, activate Outlook App window mode and inline mode (If you are using Alfred V3).

If you are using Alfred V3, to use inline mode, after you type a email address after olknew command, you can choose: 'Send a Direct Quick Mesaage', and you can type a message after hint 'Message: ' then send it without activating Outlook App window.

if you are first time using this feature, and when you send a mail through inline mode, you will get a popup warning said:

A script is attempting to send a message. Some scripts can contain viruses or otherwise be harmful to your computer, so it's important to verify that the script was created by a trustworthy source. Do you want to send the message?

when you checked 'Don't show this message again', this warning dialog won't show in next time you send a inline mail.

Command olkp - Search Contact (Person)

olkp {keyword}

it will search contacts by display name and email address.

  • for found results, you can select to open contact pane in Outlook.
  • If you are using Alfred V3, Press 'CTRL' on selected contact for composing a new mail to contact in Outlook

Download built version here:

https://github.com/xeric/alfred-outlook/releases

Latest release

  • 0.1.96 years ago, 293 KBDownload

    Fix olk recent issue, support better way to detect default profile folder.

15 earlier releases
  • 0.1.86 years ago, 289 KBDownload

    Support attachments download on searched mail, support subject filter configuration.

  • 0.1.67 years ago, 211 KBDownload

    Now support compose and send a inline email without activating a Outllook app window (Alfred V3 only)

  • 0.1.57 years ago, 209 KBDownload

    Support 'olk recent:' to query recent n unread mail. Fix some pagination issue in corner cases.

  • 0.1.47 years ago, 209 KBDownload

    Now,, when first time launch and default profile is not found, workflow will check the largest size profile folder and set it as default one.

  • 0.1.37 years ago, 206 KBDownload

    Able to searching contacts by olkp. Able to compose new email by olknew. Able to compose new email by searched contact.

  • 0.1.27 years ago, 204 KBDownload

    Urgent regression fix for config set folder issue.

  • 0.1.17 years ago, 204 KBDownload

    Support 'olkc profile' to configure profile (account) of Outlook.

  • 0.1.07 years ago, 203 KBDownload

    Support senseless pagination if using Alfred v3. Support use 'CTRL' as 'Next Page' item's modifier and tune to previous page.

  • 0.0.77 years ago, 199 KBDownload

    Fix issue [issue/1] that can't display some unicode characters in mail body in search result.

  • 0.0.67 years ago, 199 KBDownload

    With fixing issue https://github.com/xeric/alfred-outlook/issues/1, now some different kind of encoding chars like 'Åā' can be supported well in search.

  • release-0.0.58 years ago, 199 KBDownload

    Urgent fix for set configuration failed

  • release-0.0.48 years ago, 199 KBDownload
    • Now this workflow supports set search folder by cmd ** olkc folder
    • More friendly hint message when do search and configuration.
    • Fix a issue when mail title/content contains unicode chars.
  • release-0.0.38 years ago, 197 KBDownload

    Now support to use

    olkc pagesize [page size number]

    to set query page size.

  • release-0.0.28 years ago, 191 KBDownload

    0.0.2 supports multiple keywords search.

  • 0.0.18 years ago, 177 KBDownload

    First initial version of Alfred Outlook Mail Search workflow.