Emaj7 is made of these notes: E (root), G# (major third), B (fifth), D# (major seventh).
With this shape the strings sound like this, from the D string to the D string: D#, G#, B, E.
A major seventh chord sounds dreamy and soft. It can replace the plain major chord, especially at the start or end of a song.
Emaj7 belongs to these major keys: E major (degree I), B major (degree IV).