# mail-parser > Parse raw SMTP email messages and extract headers, body, and attachments - Run mail-parser: `python3 -c "import mailparser; mail = mailparser.parse_from_file(''); print(mail.subject)"`