A new state bill proposed by Assemblyman Todd Gloria would require public agencies to retain emails for at least two years before automatically deleting them. State law already requires cities to retain public records for two years. But many agencies have instituted policies allowing them to delete emails far sooner by relying on the argument that the law is not clear regarding emails.