def __init__(self, jsonParams): self.tasks = jsonParams['tasks'] self.emailSender = EmailSender.Sender(jsonParams['gmailInfo'])