Scala append Seq in with a string in a List Map or Foreach
<p>I'm looking to append a <code>val adminEmailSeq = Seq.empty[String]</code> from a List of object attribute.</p>

<p>My <code>List[User]</code> called 'admins' and I'm trying to do this, but it doesn't work:</p>

<pre><code>admins.foreach(
    admin =&gt; {
        adminEmailSeq :+ admin.email
    }
)
</code></pre>

<p>Although <code>admin.email</code> contains the right information, <code>adminEmailSeq.isEmpty</code> is always true.</p>