Skip to main content

create mailto URIs

Project description


Creates mailto URIs. The main use case is to create mailto URIs for support web pages. This makes it easy for users to request stuff by relying on provided mail templates.


Create a mail template:

echo 'please increase my quota' > increase-quota.txt

Create mailto URI:

$ mailto-uri -s 'increase quota' -r increase-quota.txt

This URI can then be pasted into web pages.

Plain HTML:

<a href="">increase quota</a>


If you need more storage, ask us to [increase your quota](


If you need more storage, ask us to [ increase your quota].

Alternatively, you can provide the mail as Markdown and use front matter for recipient and subject:

subject: increase quota

Dear Admin,

Please increase my quota!

Best Regards

Using Markdown is especially helpful if tools like Markdown Here are used.

$ mailto-uri,

You can also use it in pipes:

$ generate-template | mailto-uri


Arch Linux:

$ pacaur -S mailto-uri


$ pip install mailto-uri

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mailto-uri, version 1.2.0
Filename, size File type Python version Upload date Hashes
Filename, size mailto_uri-1.2.0-py3-none-any.whl (16.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size mailto-uri-1.2.0.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page