add 'self' to emailservice method