Fixed #3. Added :debug option that disables sending mail and enables verbose output.