a script that will send the IP adress via email when network is up. Tested on debian server with DHCP.