Google has launched a tool that lets users decide what happens with their email, Google Plus and other accounts after they die, or become inactive online for any other reason.