A former Prudential insurance agent who gambled away $2 million in client investment funds was sentenced to six years in prison.