Rate limiting - notify user via email

Problem to solve

Rate limiting bans IP with 403 Forbidden so the access to the GitLab server is completely blocked for this one IP address.

But when trying to login with the wrong password on the web interface too often it blocks your user and send you an email with instructions how to unblock.

Proposal

Would it be possible to get the same behaviour for rate limiting as an option? So that the API token gets blocked and the user gets notified about what's going on.

Edited by 🤖 GitLab Bot 🤖