title: Can not send email through alertmanager
body: <p><strong>docker-compose.yml:</strong> Service is up and running.</p>
  
  <pre><code>version: '3'
  services:
    prometheus:
      image: prom/prometheus:latest
      container_name: prometheus
      ports:
        - 9090:9090
      volumes:
        - ./prometheus/conf:/etc/prometheus
  #      - ./prometheus.yml:/etc/prometheus/prometheus.yml:ro
        - ./alertmanager/alert_rules.yml:/alertmanager/alert.rules.yml
      command:
        - '--config.file=/etc/prometheus/prometheus.yml'
        - '--storage.tsdb.path=/prometheus'
  
    alertmanager:
      image: prom/alertmanager:latest
      container_name: alertmanager
      ports:
        - 9093:9093
      volumes:
        - ./alertmanager/:/etc/alertmanager/
      command:
        - '--config.file=/etc/alertmanager/alertmanager.yml'
        - '--storage.path=/alertmanager'
  </code></pre>
  
  <p><strong>prometheus.yml:</strong> Prometheus config file with targets and alerts target sets. The alertmanager target url is working fine.</p>
  
  <pre><code>global:
    scrape_interval: 15s
    scrape_timeout: 10s
    evaluation_interval: 15s
  alerting:
    alertmanagers:
    - static_configs:
      - targets:
        - 10.10.5.14:9093
      scheme: http
      timeout: 10s
      api_version: v1
  rule_files:
    - "/alertmanager/alert.rules:/alertmanager/alert.rules"
  scrape_configs:
    - job_name: 'blackbox'
      metrics_path: /probe
      params:
        module: [http_2xx]
      static_configs:
        - targets:
          - "google.com"
      relabel_configs:
        - source_labels: [__address__]
          target_label: __param_target
        - source_labels: [__param_target]
          target_label: instance
        - target_label: __address__
          replacement: localhost:9115
  </code></pre>
  
  <p><strong>alert.rules:</strong> Standard alert rule.</p>
  
  <pre><code>groups:
  - name: example
    rules:
  
    # Alert for any instance that is unreachable for &gt;1 minutes.
    - alert: InstanceDown
      expr: up == 0
      for: 1m
  </code></pre>
  
  <p><strong>alertmanager.yml:</strong> Code to send alerts via gmail smtp.</p>
  
  <pre><code>route:
    group_by: [Alertname]
    # Send all notifications to me.
    receiver: email-me
  
  receivers:
  - name: email-me
    email_configs:
    - to: anyemail.com
      from: senderlogin@gmail.com
      smarthost: smtp.gmail.com:587
      auth_username: "senderlogin@gmail.com"
      auth_identity: "senderlogin@gmail.com"
      auth_password: "password"
  </code></pre>
  
  <p><strong>Problem:</strong> All containers are working but there are no rule in prometheus rules. 
  And the letters do not come accordingly either. I can’t understand what I missed. Any hints are welcome. Thanks. 
  <a href="https://i.stack.imgur.com/WInqm.png" rel="nofollow noreferrer">enter image description here</a>
  <a href="https://i.stack.imgur.com/lGbtN.png" rel="nofollow noreferrer">enter image description here</a></p>