Added email notification and threads.