🎩 Create a new iCloud Hide My Mail address automatically with an specified label via Alfred and have it copied to your clipboard.
The whole shown process is completed within a couple seconds.
- Download the latest
.alfredworkflow
file from the releases page. - Double-click the downloaded file to import it into Alfred 5.
- Open Alfred (default shortcut:
Option + Space
). - Type
hide
followed by the label you want to assign to the new iCloud Hide My Mail address. - Press
Enter
. - Press
CMD + V
to paste the generated iCloud Hide My Mail address.
The workflow will open the MacOS System Settings, navigate to the appropriate section, create a new iCloud Hide My Mail address with the specified label and adds the generate mail to your clipboard.
- Alfred 5.1 or later
- Active iCloud+ subscription
- MacOS Sonoma 14.1 or later - macOS Sequoia is not yet supported
You can change the keyword to trigger the workflow by opening the Alfred Preferences, navigating to the Workflows
tab, selecting the Hide My Mail
workflow, and clicking on the Configure Workflow
button. Here you can change the keyword to your desired value.
- The default keyword is
hide
.
On some websites you don't get the native icloud+ hide my mail prompt for the email field, so it has to be created manually. The complete process is automated with this workflow, so you don't have to click 8-10 times through the system settings to get your generated mail.
On some lower spec Macs, the last step can sometimes be not executed correctly while closing the system applications after copying the generated iCloud mail. If that occurs on your Mac, you can fix it by increasing the delay within the workflow script. To do so, follow these steps:
- Open the Alfred Preferences
- Navigating to the
Workflows
tab, selecting theHide My Mail
workflow and double click on theRun Script
workflow item within the workflow editor - Increase the last delay in seconds at the end of the script, which is currently set to
delay 1
, todelay 2
or higher - Save the change
In a future release this will be made configurable - so stay stuned!
The main script is heavily inspired by a created Shortcut from this reddit thread