text: Title: Send email confirmation now breaks when request=None
  Body: This issue was introduced in version 0.52.0, I used to be able to call `send_email_confirmation(None, user)` before (I use it on a user post save and there is no request object available)
  The issue comes down to a check in `ratelimit`:
  ```python
  if request.method == "GET" or not amount or not duration:
      pass
  ```
  
  Which I would argue should be changed to:
  ```python
  if not request or request.method == "GET" or not amount or not duration:
      pass
  ```