Proxy firewalls act as intermediaries between the client and the server. When an email is sent, the proxy firewall intercepts the request, inspects the content, and then forwards it to the destination server if deemed safe. This process helps in blocking spam, phishing attempts, and other malicious content.