Tool Labs: prepare mailrelay for tool processing

Change-Id: I27cbc3caca0639b8b4b4c2404605296a04346ec8