+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ See content
+
+
+
+
+
+ See content
+
+
+
+
+
+
+
+ Attachment | |
+
+
+
+
+
+ {{ `${h.filename || h.contentId || 'noname'} (${h.mimeType}) / ${h.disposition}` }}
+ |
+
+
+ Download
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/tools/email-parser/index.ts b/src/tools/email-parser/index.ts
new file mode 100644
index 00000000..d1bdf15b
--- /dev/null
+++ b/src/tools/email-parser/index.ts
@@ -0,0 +1,12 @@
+import { Mail } from '@vicons/tabler';
+import { defineTool } from '../tool';
+
+export const tool = defineTool({
+ name: 'Email Parser',
+ path: '/email-parser',
+ description: 'Parse and extract information from raw Email content',
+ keywords: ['email', 'parser', 'header', 'rfc2822', 'rfc5322', 'rfc822'],
+ component: () => import('./email-parser.vue'),
+ icon: Mail,
+ createdAt: new Date('2024-08-15'),
+});
diff --git a/src/tools/index.ts b/src/tools/index.ts
index b4c161ef..6e84efce 100644
--- a/src/tools/index.ts
+++ b/src/tools/index.ts
@@ -2,6 +2,7 @@ import { tool as base64FileConverter } from './base64-file-converter';
import { tool as base64StringConverter } from './base64-string-converter';
import { tool as basicAuthGenerator } from './basic-auth-generator';
import { tool as emailNormalizer } from './email-normalizer';
+import { tool as emailParser } from './email-parser';
import { tool as asciiTextDrawer } from './ascii-text-drawer';
@@ -158,7 +159,15 @@ export const toolsByCategory: ToolCategory[] = [
},
{
name: 'Network',
- components: [ipv4SubnetCalculator, ipv4AddressConverter, ipv4RangeExpander, macAddressLookup, macAddressGenerator, ipv6UlaGenerator],
+ components: [
+ ipv4SubnetCalculator,
+ ipv4AddressConverter,
+ ipv4RangeExpander,
+ macAddressLookup,
+ macAddressGenerator,
+ ipv6UlaGenerator,
+ emailParser,
+ ],
},
{
name: 'Math',