Java Email Code

I have committed the first version of the email code for the java end of
the project. It needs to be edited to allow inputs to be read, which
will be done in the lecture.