Updated all analysis email functions