Move email plugin to output phase. refs #2390