Emailing now working.
Tests working after changing number of arguments.