fix incorrect selected option in notifications template
compile customer portal access email against contact. code cleanup