Fixing notify task and improving email styling