16 Atmospheric monitoring networks quantify gaseous elemental mercury (GEM) 17 concentrations, but not isotopic composition. Here, we present a new method for 18 automated and quantitative stable isotope sampling of GEM (ISO-GEM) at the outlet of a 19 commercial Hg analyzer. A programmable multi-valve manifold selects Hg at the analyzer 20 inlet and outlet based on specific criteria (location, time, GEM concentration, auxiliary 21 threshold). Outlet Hg recovery was tested for gold traps, oxidizing acidic solution traps, 22 and activated carbon traps. We illustrate the ISO-GEM method in an exploratory study on 23 the effect of building walls on local GEM. We find that GEM concentrations directly at the 24 building surface (wall inlet) are significantly enhanced (mean 3.8 ± 1.8 ng/m 3 ) compared 25 to 3 m from the building wall (free inlet) (mean 1.5 ± 0.4 ng/m 3 ). GEM 202 Hg (-1.26 ± 0.41 26 ‰, 1sd, n=16) and 199 Hg (-0.05 ± 0.10 ‰, 1sd, n=16) at the wall inlet were different 27 from ambient GEM 202 Hg (0.76 ± 0.09 ‰, 1sd, n=16) and 199 Hg (-0.21 ± 0.05 ‰, 1sd, 28 n=16) at the free inlet. The isotopic fingerprint of GEM at the wall inlet suggests that GEM 29 emission from the aluminum building surface affected local GEM concentration 30 measurements. These results illustrate the versatility of the automated Hg isotope 31 sampling.