Some introducing words:
Sorry for my bad english.
I made this as an extension for Alfred 1 about 3 years ago. It is a very complex extension, completely implemented with Applescript. So, it's way to much code for his functionality and often there are not very beautiful solutions. But I made this to learn Applescript and checkout the possibilities.
I made an Workflow for Alfred 2 out of the extension, but some functions like the detailed growl notifications do not work anymore. But the main features still work.
I have no plans to change anything on the workflow or in the code itself (but never say never). There will be many ways, to do it better. Feel Free to use the Idea and the code, to make a better workflow out of this.
Quickmail offers the possibility to write emails straight from Alfred. You can define a subject, attach files, choose your Email-account, use the nicknames from address book for the recipients & much more.
Besides you can use Quickmail to read new unread messages in a dialog without opening the mail app. You can also reply from this dialog.
You have to make some definitions in the code, to make quickmail run. It is not very difficult (I made some comments on the relevant positions), but if it is the first time you see code, it will take some time to understand.
You can do a lot of customization in the code.
Quickmail supports multiple languages like english, german, french, spanish, italian. But most of them on a Google Translator level. But it is easy to correct the mistakes in the code, because all texts depending on the language are listed in a special part of the code.
How to use:
Attention: the examples will work with the default settings for characters, if you change them, you have to use the new ones of course.
qm email@example.com*A subject*A message
Message to predefined contact (you can define in the script code or in Adressbook (nickname) e.g. with shortcut "anna"):
qm anna*A subject*A message
Formating message with returns:
qm firstname.lastname@example.org*A subject*Hi there,> this is a message>>sincerely,>your friend
Add an attachment (attachment is the selected item or items in finder):
qm anna*A subject*A message*#
Send from a specific account, not standard-account (you can define in the script code e.g. "work"):
qm anna*A subject*A message*work
Send from specific account & add attachment:
qm anna*A subject*A message*#*work
Message without subject (quickmail generates from message or uses a predefined subject you can define in the script code):
qm anna**A message
Further you can use Read&Reply-Mode (This Mode shows you an unread message with the possibility of quick reply in a dialog):
--> quick reply messages can be formated too. Use Symbol: >
Tip: It is extremly usefull to use the Alfred Large Type feature (Appearance-->Large Type) to check your text before sending.
From my Dropbox