This WordPress plugin adds a new [_forwarded_ip] tag to Contact Form 7’s e-mail templates. This tag will contain the forwarded IP address if your website if behind a proxy.