Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Versatile email infrastructure on AWS serverless

License

NotificationsYou must be signed in to change notification settings

harryzcy/mailbox

Repository files navigation

TestscodecovGo Report CardPRs WelcomeLicense: MIT

Docs:English简体中文

Versatile email infrastructure that operates on AWS.

Clients

Web

Seemailbox-browser

Dark modeLight mode
Screenshot Dark ModeScreenshot Light Mode

CLI

go install github.com/harryzcy/mailbox-cli

For details, refer tomailbox-cli

Deploy

  1. Clone the repository.

    git clone https://github.com/harryzcy/mailbox
  2. Installserverless.

    npm install -g serverless@v3
  3. Create an IAM user.

    Create an IAM user with AdministratorAccess and export the access key as environment variables.

    export AWS_ACCESS_KEY_ID=<your-key-here>export AWS_SECRET_ACCESS_KEY=<your-secret-key-here>

    In production, setup the IAM user followingthis guide from serverless.

  4. Setup AWS services.

    Manually create S3 buckets, and setup SES and SQS (optional) from AWS console.

  5. Copy over example configurations and fill in correct fields.

    cp serverless.yml.example serverless.yml

    Underprovider.environment section, modifyREGION,S3_BUCKET,SQS_QUEUE (optional, only if SQS should be enabled).

  6. Deploy the app.

    make deploy
  7. Configure email receiving.

    From AWS console -> Configuration -> Email receiving -> Create rule set -> Create rule, add two actions:

    1. Deliver to Amazon S3 bucket, then enter your bucket name.
    2. Invoke AWS Lambda function, and selectmailbox-dev-emailReceive ormailbox-prod-emailReceive.
  8. Deploymailbox-browser or usemailbox-cli.

API

Seedoc/API.md

Architecture

It runs on AWS services, including SES, Lambda, API Gateway, DynamoDB, and SQS.

Architecture

Contributing

Development environment

  • Go >= 1.24

Note that only the two most recent minor versions of Go are officially supported.


[8]ページ先頭

©2009-2025 Movatter.jp