-Generalized mail alert setup to take from custom JSON.
-current path was nil, now should point to a real path