We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ebd79e commit b18129aCopy full SHA for b18129a
references/v3-catalog/src/trigger/email.tsx
@@ -1,7 +1,6 @@
1
import { logger, task } from "@trigger.dev/sdk/v3";
2
import { ExampleEmail } from "./emails/index.js";
3
import { render } from "@react-email/render";
4
-import EmailReplyParser from "email-reply-parser";
5
6
export const emailTask = task({
7
id: "email",
@@ -12,15 +11,3 @@ export const emailTask = task({
12
11
};
13
},
14
});
15
-
16
-export const parseEmailReplyTask = task({
17
- id: "parse-email-reply",
18
- run: async ({ email }: { email: string }) => {
19
- const parsed = new EmailReplyParser().read(email);
20
21
- logger.log("Parsed email", {
22
- email,
23
- parsed,
24
- });
25
- },
26
-});
0 commit comments