async def METHOD_NAME(self, init):
    config = await validate(init)
    resource = await resource_db.load(config.resource.id)  # type: Resource
    smtp_config = resource.credentials.get_credentials(self, SmtpConfiguration)  # type: SmtpConfiguration
    self.config = config
    self.post = PostMan(smtp_config)