updated mail and library