{
  "manifest_version": "1.0.0",
  "template": {
    "id": "994307f5-99e1-4893-853d-175b02309500",
    "slug": "resend-railway-smtp-gateway",
    "name": "Resend Railway SMTP Gateway",
    "description": "Deploy and Host Resend SMTP Gateway with Railway",
    "url": "https://railway.com/deploy/resend-railway-smtp-gateway",
    "upstream": {
      "repo_url": "https://github.com/igorrius/resend-railway-gateway"
    }
  },
  "services": [
    {
      "name": "resend-railway-gateway",
      "source": {
        "repo": "https://github.com/igorrius/resend-railway-gateway"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "RESEND_API_KEY",
      "service": "resend-railway-gateway",
      "description": "An API key to get access to resend.com. Get a key from https://resend.com/api-keys",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SMTP_LISTEN_ADDR",
      "service": "resend-railway-gateway",
      "description": "The SMTP port the server will use",
      "secret": false,
      "strategy": "default",
      "default": "2525"
    },
    {
      "key": "SMTP_REQUIRE_AUTH",
      "service": "resend-railway-gateway",
      "description": "Does SMTP require auth?",
      "secret": false,
      "strategy": "default",
      "default": "false"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "resend-railway-smtp-gateway"
      }
    },
    "cli": "railway deploy --template resend-railway-smtp-gateway",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "994307f5-99e1-4893-853d-175b02309500",
            "serializedConfig": {
              "services": {
                "722dc338-5443-4601-a3c8-f0ac0dcd9204": {
                  "name": "resend-railway-gateway",
                  "source": {
                    "repo": "igorrius/resend-railway-gateway",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "SMTP_PASS": {
                      "isOptional": true,
                      "description": "SMTP user password",
                      "defaultValue": ""
                    },
                    "SMTP_USER": {
                      "isOptional": true,
                      "description": "SMTP user name",
                      "defaultValue": ""
                    },
                    "RESEND_API_KEY": {
                      "isOptional": false,
                      "description": "An API key to get access to resend.com. Get a key from https://resend.com/api-keys",
                      "defaultValue": "{{RESEND_API_KEY}}"
                    },
                    "SMTP_LISTEN_ADDR": {
                      "isOptional": true,
                      "description": "The SMTP port the server will use",
                      "defaultValue": "2525"
                    },
                    "SMTP_REQUIRE_AUTH": {
                      "isOptional": true,
                      "description": "Does SMTP require auth?",
                      "defaultValue": "false"
                    }
                  },
                  "networking": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-18T20:13:54.278Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_668747ea196b40f98d4c",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 104,
    "typical_build_seconds": 30,
    "typical_start_seconds": 0,
    "slowest_service": "resend-railway-gateway"
  }
}
