Trial code to write a thankyou email...