Jenkins Email Notification

  1. Login to Jenkins.

  2. Navigate to Manage Jenkins.

  3. Navigate to “Go to plugin manager”

  4. Search for “Email Extension” under filter section in plugin manager

  5. Download and Install the Email Extension

  6. Create APP Password for GMAIL account - Follow below steps to create App Password

  7. If you configure Jenkins e-mail please you should follow the below steps:

    1. first enable two step verification for reference click here

    2. generate an app password

    3. add the app password instead of your password

  8. After successfully creation of APP Password for GMAIL

  9. Go to Configure System in Manage Jenkins.

  10. Under Configure system go to “Extended Email Notification and add

    1. SMTP Server field - smtp.gmail.com

    2. SMTP Port - 465

  11. Click Advanced button below SMTP Port

  12. Click Add button

  13. Go to Jenkins credentials provider and add the Username and APP Password ( Which was created on Step 6) and click Add button.

  14. Click save button in Configure system

  15. Go to the project and click configure

  16. Under post-build Actions Choose Editable Email notification under Build


  17. Under Editable Email notification add

  18. “Email id” under Project From

  19. Other field are by-default filled

  20. Click Advance settings

  21. All the field are are by-default filled

  22. Click Add trigger under Triggers

  23. Select Always (User can change as per requirement)

  24. Click Advanced under Triggers

  25. Add Recipient Mail id under Recipient List

  26. Click Save and Apply

  27. Recipient user will start getting Email Notifications