Use:
~outmsgip~
Required parameter: MsgID
This returns the sender IP address of the specified message in the VPOP3 out queue.