In marriage, women and (even many transwomen) expect and want emotional honesty. The purpose of a marriage is to provide a place where you can share emotions with another person without personal fear, and they are not afraid or repulsed by the emotions you share. You need to find out what your own emotional depth on your transgender issues is. If they will affect your emotional health in the long term, that is one thing. If they are only an escape from your daily grind on the short term, the situation is different. In the first case the two of you MUST be involved if the marriage has any chance of survival, in the second case, its not as necessary for deep sharing, but you may have chilly nights on the couch if your spouse finds out via the grape vine about your feminine displays.
A good book to get and read before you share it with your spouse is "My Husband Betty" by Helen Boyd and its sequel, "She's Not The Man I Married". I have bought three copies of each, and have none of them any more because I gave them to friends in your situation.