Hacker News new | ask | show | jobs
by rickdangerous1 362 days ago
thats a good point. I could also include the email body in the api response. Then you could regex to get the code. Later on i could layer in a ai parser to extract the code and just return that.
3 comments

would be cool to parse validation codes, urls and phone numbers perhaps all metadata like contact info too.
The email body is now returned in the api as you asked for. In order to do the parsing I would be making an openai chat api call...so that would be for paid users only. Thats reasonable right?
Yeah but can you have the option to pass my own key?
That works.