some logging and source email changes for appointments