tools: Fix notifier to safely handle MAIL_SERVER

Change-Id: Ica12831cbb0b1ccae3d1f93c5d67e3ef9e5ae024
signed-off-by: Yair Zaslavsky <yzaslavs@redhat.com>