Can you add tests for:

1. The polling interval is capped at 1hr
2. The following process:
    a. Set the polling interval to 1 second
    b. A user with preference `immediate` receives an email action
    c. The email is automatically sent by the poller