Benny from MailMate made the script for me. Works as expected.
Path of the file should be "~/Library/Application Support/Alfred 2/Plugins/Email/MailMate.applescript"
Here is the script:
-- Send an email with an attachment
return do shell script "printf " & quoted form of theText & " | xxd -u -plain | sed 's/\\(..\\)/%\\1/g' | tr -d '\\n'"
on create_mailto(_subject, _body, _attachments, _email, _name)
set _to to _email
if (_name is not "") then
set _to to _name & " <" & _email & ">"
set _mailto to "mailto:?to="