Add the X-Originating-IP header to mails, that are generated in the frontend. Its value is the client IP address.
12 LTS 13 LTS