Here is my docker-compose

version: “2”
x-redash-service: &redash-service
image: redash/redash:10.0.0.b50363
depends_on:
- postgres
- redis
env_file: /opt/redash/env
restart: always
services:
server:
<<: *redash-service
command: server
ports:
- “5000:5000”
environment:
REDASH_WEB_WORKERS: 6
scheduler:
<<: *redash-service
command: scheduler
scheduled_worker:
<<: *redash-service
command: worker
environment:
QUEUES: “scheduled_queries,schemas”
WORKERS_COUNT: 2
adhoc_worker:
<<: *redash-service
command: worker
environment:
QUEUES: “email,queries,default,periodic”
WORKERS_COUNT: 2
worker:
<<: *redash-service
command: worker
environment:
QUEUES: “periodic emails default”
WORKERS_COUNT: 2
redis:
image: redis:5.0-alpine
restart: always
postgres:
image: postgres:9.6-alpine
env_file: /opt/redash/env
volumes:
- /opt/redash/postgres-data:/var/lib/postgresql/data
restart: always
nginx:
image: redash/nginx:latest
ports:
- “80:80”
depends_on:
- server
links:
- server:redash
restart: always

Here is my env file

PYTHONUNBUFFERED=0
REDASH_LOG_LEVEL=INFO
REDASH_REDIS_URL=redis://redis:6379/0
POSTGRES_PASSWORD=XXXXXXXXXXXXXXXXXXXXX
REDASH_COOKIE_SECRET=XXXXXXXXXXXXXXXxxx
REDASH_SECRET_KEY=XXXXXXXXXXXXXXXXXXXXXXxxxxx
REDASH_DATABASE_URL=postgresql://postgres:XXXXXXXXXXXXXXXXXXxxxx@postgres/postgres
REDASH_RATELIMIT_ENABLED=false
REDASH_MAIL_SERVER=email-smtp.us-east-1.amazonaws.com
REDASH_MAIL_PORT=587
REDASH_MAIL_USE_SSL=true
REDASH_MAIL_USE_TLS=true
REDASH_MAIL_USERNAME=XXXXXXXXXXXXX
REDASH_MAIL_PASSWORD=XXXXXXXXXXXXXXXXXXXXX
REDASH_MAIL_DEFAULT_SENDER=XXXXXXXXXXxxxxxxxxx
REDASH_HOST=https://redash.exmaple.in

No errors in the logs unable to add new users and invite emails are not receiving from redash

Please any guidence here
Thanks in advance.