database logs mail credential changed