update mail stuff