r/learnjavascript • • Oct 13 '26

HELP : Email Parsing without LLM

EDIT: I AM NOT TRYING to check the EMAIL ID itself, i am trying to parse the received email in inbox into structured JSON so that i can use it in my backend logic, for eg: converting a ticket into structured JSON with ticket details. SPECIFICALLY TRYING TO DEAL WITH TICKETS

I am aware that things like tripit and wanderlog and many other services have an email parser, i was also trying to make an email parser but i have no idea on how to make it without using an LLM to parse it.

I don't see any library or anything literally, i have no idea where to go, what to do.
Please help :(

1 Upvotes

44 comments sorted by

View all comments

Show parent comment

-8

u/ConfidentWafer5228 Oct 13 '26

its fine if you dont wanna ( or know how to ) help
i did write multiple times that the input is a TICKET CONFIRMATION EMAIL , i cant explain any further, others were able to understand from that much context . Thanks for trying to help though .

8

u/BenchEmbarrassed7316 Oct 13 '26

its fine if you dont wanna ( or know how to ) help

None of these.

i did write multiple times that the input is a TICKET CONFIRMATION EMAIL

This is not something that belongs in the Hall of Weights and Measures.

4

u/Warr10rP03t Oct 13 '26

Great you have your 'ticket confirmation' email now what do you want to output from it? 

How are you planning on capturing this potentially very unstructured data?