refactored email feature to allow emailing of both psdo's and unavailable for scheudule without rewriting all the logic