On CAP representations for even orthogonal groups I: A correspondence of unramified representations