Non-discriminating glutamyl-tRNA synthetase that catalyzes aminoacylation of both mitochondrial tRNA(Glu) and tRNA(Gln) and participates in RNA aminoacylation for mitochondrial protein translation (PubMed:19805282). Attachs glutamate to tRNA(Glu) or tRNA(Gln) in a two-step reaction: glutamate is first activated by ATP to form Glu-AMP and then transferred to the acceptor end of tRNA(Glu) or tRNA(Gln) (PubMed:19805282). In vitro, cytoplasmic tRNA(Gln) is slightly glutamylated, but with low activity (PubMed:19805282). . This is the function of ENSG00000103356 (EARS2, glutamyl-tRNA synthetase 2, mitochondrial).