extract_attachments

Command-line utility to extract attachments from an email message

Usage no npm install needed!

<script type="module">
  import extractAttachments from 'https://cdn.skypack.dev/extract_attachments';
</script>

README

extract_attachments

A command-line tool to extract attachments from an email message.

Install

npm install -g extract_attachments

If you get permission denied errors, try again with sudo:

sudo npm install -g extract_attachments

Using

If email.msg is the file you want to extract attachments from, do:

extract_attachments email.msg

The attachments will be written to your current directory with their original names in the email.