Fix mail center using depreciated output buffer api