simple implementation of email rate limiting