Involved in mRNA export coupled transcription activation by association with both the TREX-2 and the SAGA complexes. The transcription regulatory histone acetylation (HAT) complex SAGA is a multiprotein complex that activates transcription by remodeling chromatin and mediating histone acetylation and deubiquitination. Within the SAGA complex, participates in a subcomplex that specifically deubiquitinates both histones H2A and H2B. The SAGA complex is recruited to specific gene promoters by activators such as MYC, where it is required for transcription. Required for nuclear receptor-mediated transactivation. As a component of the TREX-2 complex, involved in the export of mRNAs to the cytoplasm through the nuclear pores (By similarity). Component of the nuclear pore complex (NPC)-associated TREX-2 complex (transcription and export complex 2), composed of at least ENY2, the isoform GANP of the MCM3AP gene, PCID2, SEM1, and either centrin CETN2 or CETN3. TREX-2 contains 2 ENY2 chains. The TREX-2 complex also associates with ALYREF/ALY and with the nucleoporin NUP153 (By similarity). Component of some SAGA transcription coactivator-HAT complexes, at least composed of ATXN7, ATXN7L3, ENY2, GCN5L2, SUPT3H, TAF10, TRRAP and USP22. Within the SAGA complex, ENY2, ATXN7, ATXN7L3, and USP22 form an additional subcomplex of SAGA called the DUB module (deubiquitination module). Interacts with the RNA polymerase II subunit POLR2A (By similarity). Interacts with ATXN7L3B (By similarity). Belongs to the ENY2 family.