Added feature to send reports hourly

- Added feature to send reports hourly
- Solved bug when the password of the database is None
- Update in the tests