'sendgrid webhook open event is giving wrong ip address and user agent

SendGrid webhook open event is giving wrong ip address and user agent if an email is opened by Gmail web client. It returns some gmail IP and fake user-agent instead of client's IP and user-agent. Do you know how can I get client's actual IP and user-agent?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source