Refactored activator.js:
1. added helper functions
2. changed styling
3. allow setting own `smtp` handler