Develop a Spark standalone application (using IntelliJ IDEA) with Spark MLlib and LogisticRegression to classify emails.
Think about command line and what parameters you'd like to accept for various use cases.
TIP Use scopt
libraryDependencies += "org.apache.spark" %% "spark-mllib" % "2.1.1"