New function: sending emails, look at javadoc to see how to use it. Inject it into beans.