Add much more configuration ability to spam module. Fixes #247