Sending Email through Java First, You need to receive GOOGLE APP password Receive Google App Password Download email JAR or define dependencies from this page Javax mail JAR page Create Java Web Dynamic Project Interface Data Access Object Level (DAO)…