Creating a bot that automatically posts new emails from a gmail account

Would you recommend using discord.js alongside the gmail API to get a bot that would post all new emails from a gmail into a channel? Or would I be better off not using discord.js and something like a webhook instead
4 Replies
d.js toolkit
d.js toolkit12mo ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
ggonick
ggonick12mo ago
However I am struggling finding a good free way to integrate the gmail API with the discord webhook so I thought maybe creating a custom bot for that might be a little easier, but i'm not sure if discord.js would have a good way of doing that besides just polling the API at set time intervals
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View