done the ping, heartbeat and mail client