Verifying user details before using their gmail.
is there any way to verify user mails before sending them gmail .
8 Replies
like-gold•3mo ago
do you want to validate the email address? or you want to make sure it's in valid email format?
ratty-blushOP•3mo ago
no want to validate email
address so that user cannot spam by entering anyones email
like-gold•3mo ago
gmail does not support this natively. we will need to add a third party tool for the email validation.
ratty-blushOP•3mo ago
i have createa a tool for it, but how can i run it before you gmail sending the mail
how can i add middleware to your function
like-gold•3mo ago
you might want to take a look at a preprocessor: https://docs.composio.dev/patterns/tools/use-tools/processing-actions
Composio Docs
🛠️ How to modify Actions? - Composio
Composio enables your agents to connect with Various Tools and work with them
ratty-blushOP•3mo ago
not avaialble for js
?
like-gold•3mo ago
Not for now but we will add it very soon and would let you know 😄
deep-jade•3mo ago
hmm, thanks