Script to receive email for scheduling