Notification not sent

Hi,
I have set an Email notification and tested it. I can see in the Communication Log that the Email is sent. However I did not received any Emails. The Email Account is correctly configured and other feature like Login via E-mail link, password forget eamil etc. are working properly.

Here is my configuration and screenshot of Communication Log.

Configuration:

Log:

Does anyone have idea what should I do?

I have resolved this issue by adding email flush in crontab

crontab -e

and add following into crontab. (Inside docker)

* * * * * cd /home/frappe/frappe-bench && bench execute frappe.email.queue.flush >> /home/frappe/email_flush.log 2>&1

Here is the configured init.sh that create this automatically:

#!bin/bash

# # Install cron
RUN apt-get update && apt-get install -y cron

# Ensure cron is running
if [ -d "/home/frappe/frappe-bench/apps/frappe" ]; then
    echo "Bench already exists, skipping init"
    cd frappe-bench
    (crontab -l 2>/dev/null; echo "* * * * * cd /home/frappe/frappe-bench && /home/frappe/.local/bin/bench execute frappe.email.queue.flush >> /home/frappe/email_flush.log 2>&1") | crontab -
    sudo service cron start
    bench start
else
    echo "Creating new bench..."

    export PATH="${NVM_DIR}/versions/node/v${NODE_VERSION_DEVELOP}/bin/:${PATH}"
    
    bench init --skip-redis-config-generation frappe-bench
    
    cd frappe-bench
    
    # Use containers instead of localhost
    bench set-mariadb-host mariadb
    bench set-redis-cache-host redis:6379
    bench set-redis-queue-host redis:6379
    bench set-redis-socketio-host redis:6379
    
    # Remove redis, watch from Procfile
    sed -i '/redis/d' ./Procfile
    sed -i '/watch/d' ./Procfile
    
    bench get-app erpnext
    bench get-app hrms
    
    bench config dns_multitenant on
    bench new-site hrms.local \
    --force \
    --mariadb-root-password 123 \
    --admin-password admin \
    --no-mariadb-socket
    
    bench --site hrms.local install-app hrms
    bench --site hrms.local set-config developer_mode 0
    bench --site hrms.local enable-scheduler
    bench --site hrms.local clear-cache
    bench use hrms.local
    bench setup nginx
    
    (crontab -l 2>/dev/null; echo "* * * * * cd /home/frappe/frappe-bench && /home/frappe/.local/bin/bench execute frappe.email.queue.flush >> /home/frappe/email_flush.log 2>&1") | crontab -

    sudo service cron start
    bench start
fi