{"id":"a1b56270-2871-4d5a-bacc-08768555249e","shortId":"rC3CEf","kind":"skill","title":"Extract structured data and attachments from raw email with MailParser","tagline":"Use MailParser when an agent receives raw RFC822 or MIME email and needs a normalized result with headers, text, HTML, addresses, and attachments. This is for email ingestion and handoff workflows, not for acting as a mailbox client or delivery platform.","description":"# Extract structured data and attachments from raw email with MailParser\n\nUse MailParser when an agent receives raw RFC822 or MIME email and needs a normalized result with headers, text, HTML, addresses, and attachments. This is for email ingestion and handoff workflows, not for acting as a mailbox client or delivery platform.\n\n## Prerequisites\n\nNode.js\n\n## Installation\n\nUse the upstream install or setup path that matches your environment:\n- $ npm install mailparser\n\nRequirements and caveats from upstream:\n- Advanced email parser for Node.js. Everything is handled as a stream which should make it able to parse even very large messages (100MB+) with relatively low overhead.\n- const mailparser = require('mailparser');\n\nBasic usage or getting-started notes:\n- This module is in maintenance mode. It will continue to receive security updates and critical bug fixes, but no new features or feature changes will be added. For new projects, please consider using [PostalMime](https...\n- First install the module from npm:\n- next import the mailparser object into your script:\n\n- Source: https://github.com/nodemailer/mailparser\n- Extracted from upstream docs: https://raw.githubusercontent.com/nodemailer/mailparser/HEAD/README.md\n\n## Documentation\n\n- https://github.com/nodemailer/mailparser#readme\n\n## Source\n\n- [Agent Skill Exchange](https://agentskillexchange.com/skills/extract-structured-data-and-attachments-from-raw-email-mailparser/)","tags":["extract","structured","data","and","attachments","from","raw","email","mailparser","skills","agentskillexchange","agent-skills"],"capabilities":["skill","source-agentskillexchange","skill-extract-structured-data-and-attachments-from-raw-email-mailparser","topic-agent-skills","topic-ai-agents","topic-ai-tools","topic-awesome-list","topic-claude-code","topic-codex","topic-cursor","topic-llm","topic-mcp","topic-npx-skills","topic-openclaw","topic-skills-catalog"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/agentskillexchange/skills/extract-structured-data-and-attachments-from-raw-email-mailparser","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add agentskillexchange/skills","source_repo":"https://github.com/agentskillexchange/skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,445 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:10:24.700Z","embedding":null,"createdAt":"2026-05-18T13:16:29.244Z","updatedAt":"2026-05-18T19:10:24.700Z","lastSeenAt":"2026-05-18T19:10:24.700Z","tsv":"'/nodemailer/mailparser':215 '/nodemailer/mailparser#readme':226 '/nodemailer/mailparser/head/readme.md':222 '/skills/extract-structured-data-and-attachments-from-raw-email-mailparser/)':233 '100mb':147 'abl':140 'act':44,95 'ad':189 'address':31,82 'advanc':125 'agent':15,66,228 'agentskillexchange.com':232 'agentskillexchange.com/skills/extract-structured-data-and-attachments-from-raw-email-mailparser/)':231 'attach':5,33,56,84 'basic':156 'bug':178 'caveat':122 'chang':186 'client':48,99 'consid':194 'const':152 'continu':171 'critic':177 'data':3,54 'deliveri':50,101 'doc':219 'document':223 'email':8,21,37,59,72,88,126 'environ':116 'even':143 'everyth':130 'exchang':230 'extract':1,52,216 'featur':183,185 'first':198 'fix':179 'get':160 'getting-start':159 'github.com':214,225 'github.com/nodemailer/mailparser':213 'github.com/nodemailer/mailparser#readme':224 'handl':132 'handoff':40,91 'header':28,79 'html':30,81 'https':197 'import':205 'ingest':38,89 'instal':105,109,118,199 'larg':145 'low':150 'mailbox':47,98 'mailpars':10,12,61,63,119,153,155,207 'mainten':167 'make':138 'match':114 'messag':146 'mime':20,71 'mode':168 'modul':164,201 'need':23,74 'new':182,191 'next':204 'node.js':104,129 'normal':25,76 'note':162 'npm':117,203 'object':208 'overhead':151 'pars':142 'parser':127 'path':112 'platform':51,102 'pleas':193 'postalmim':196 'prerequisit':103 'project':192 'raw':7,17,58,68 'raw.githubusercontent.com':221 'raw.githubusercontent.com/nodemailer/mailparser/head/readme.md':220 'receiv':16,67,173 'relat':149 'requir':120,154 'result':26,77 'rfc822':18,69 'script':211 'secur':174 'setup':111 'skill':229 'skill-extract-structured-data-and-attachments-from-raw-email-mailparser' 'sourc':212,227 'source-agentskillexchange' 'start':161 'stream':135 'structur':2,53 'text':29,80 'topic-agent-skills' 'topic-ai-agents' 'topic-ai-tools' 'topic-awesome-list' 'topic-claude-code' 'topic-codex' 'topic-cursor' 'topic-llm' 'topic-mcp' 'topic-npx-skills' 'topic-openclaw' 'topic-skills-catalog' 'updat':175 'upstream':108,124,218 'usag':157 'use':11,62,106,195 'workflow':41,92","prices":[{"id":"42f7e991-1279-413d-a69d-424dd0435504","listingId":"a1b56270-2871-4d5a-bacc-08768555249e","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"agentskillexchange","category":"skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:16:29.244Z"}],"sources":[{"listingId":"a1b56270-2871-4d5a-bacc-08768555249e","source":"github","sourceId":"agentskillexchange/skills/extract-structured-data-and-attachments-from-raw-email-mailparser","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/extract-structured-data-and-attachments-from-raw-email-mailparser","isPrimary":false,"firstSeenAt":"2026-05-18T13:16:29.244Z","lastSeenAt":"2026-05-18T19:10:24.700Z"}],"details":{"listingId":"a1b56270-2871-4d5a-bacc-08768555249e","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"extract-structured-data-and-attachments-from-raw-email-mailparser","github":{"repo":"agentskillexchange/skills","stars":8,"topics":["agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex","cursor","llm","mcp","npx-skills","openclaw","skills-catalog"],"license":"mit","html_url":"https://github.com/agentskillexchange/skills","pushed_at":"2026-05-18T19:02:17Z","description":"The open catalog of AI agent skills — 2,000+ security-scanned skills for Claude Code, Cursor, Codex, and more.","skill_md_sha":"3701c05e26a9f0e6d75b1d60d83d55f625d4cc79","skill_md_path":"skills/extract-structured-data-and-attachments-from-raw-email-mailparser/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/extract-structured-data-and-attachments-from-raw-email-mailparser"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"Extract structured data and attachments from raw email with MailParser","description":"Use MailParser when an agent receives raw RFC822 or MIME email and needs a normalized result with headers, text, HTML, addresses, and attachments. This is for email ingestion and handoff workflows, not for acting as a mailbox client or delivery platform."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/extract-structured-data-and-attachments-from-raw-email-mailparser"},"updatedAt":"2026-05-18T19:10:24.700Z"}}