It would be pretty simple to pull this out into another method, too, something like:
```
def send_gle(client, context)
   ...
end
```