ratty-blush
ratty-blush3mo ago

Verifying user details before using their gmail.

is there any way to verify user mails before sending them gmail .
8 Replies
like-gold
like-gold3mo ago
do you want to validate the email address? or you want to make sure it's in valid email format?
ratty-blush
ratty-blushOP3mo ago
no want to validate email address so that user cannot spam by entering anyones email
like-gold
like-gold3mo ago
gmail does not support this natively. we will need to add a third party tool for the email validation.
ratty-blush
ratty-blushOP3mo 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
like-gold3mo 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-blush
ratty-blushOP3mo ago
not avaialble for js ?
like-gold
like-gold3mo ago
Not for now but we will add it very soon and would let you know 😄
deep-jade
deep-jade3mo ago
hmm, thanks

Did you find this page helpful?