WL-3576 : Adding logic for email sender/recipient in Contact Us Tool

I've moved the permission stuff out of the userId==null check.