Added mail and simple rate limiting