async def METHOD_NAME(self, payload: dict, in_edge=None) -> Result:
    try:
        dot = self._get_dot_accessor(payload)
        template = DotTemplate()
        message = template.render(self.config.mail.message.content, dot)
        message_obj = Message(
            send_to=dot[self.config.mail.send_to],
            send_from=dot[self.config.mail.send_from],
            title=self.config.mail.title,
            reply_to=dot[self.config.mail.reply_to],
            message=Content(content=message, type=self.config.mail.message.type)
        )
        self.post.send(message_obj)
        return Result(port='payload', value={"result": payload})
    except Exception as e:
        self.console.error(repr(e))
        return Result(port='error', value={"result": {"error": repr(e)}})