Finished implementing email for status change