Changed email class to receive recipient as string parameter.