Skip to content

Sparkbot to send emails to spark space

License

Notifications You must be signed in to change notification settings

SpellarBot/sparkmail

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sparkmail

Sparkmail is a bot for Cisco Spark that sends an email to all members of a Spark Space when it is mentioned

Use

sparkmail (bot) is currently running and active. Invite sparkmail to a room and begin using it

Requirements

sparkmail was written to work with Mailgun. Create an account there if you don't want to alter any code. I did some stubbing for GMAIL functionality as well.

  • Register a new bot
  • Create a webhook for with "messages" "create" for your bot pointing to /api/injest of your bot hosting server
  • Set environment variables:
    • SPARK_BOT_TOKEN
    • MG_KEY
    • MG_DOMAIN
    • MG_EMAIL
    • SPARKMAIL_SUPPORT_EMAIL
    • SPARKMAIL_SUPPORT_LINK
  • Install needed packages: pip install -r requirements.txt
  • python main.py

About

Sparkbot to send emails to spark space

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.8%
  • Dockerfile 1.2%