# Mail format output VS Playbook ouput

**URL:** <https://forum.ansible.com/t/mail-format-output-vs-playbook-ouput/33473>\
**Category:** AWX Project\
**Created:** [July 23, 2020, 1:32pm UTC](https://forum.ansible.com/t/mail-format-output-vs-playbook-ouput/33473 "2020-07-23T13:32:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kumaresan\_M](https://avatars.discourse-cdn.com/v4/letter/k/e19b73/32.png) [@Kumaresan\_M](https://forum.ansible.com/u/Kumaresan_M)\
**Post date:** [July 23, 2020, 1:32pm UTC](https://forum.ansible.com/t/mail-format-output-vs-playbook-ouput/33473/1 "2020-07-23T13:32:05Z")

</div>

Hi All,

The output of ansible Playbook looks structured way when sending mail with ansible mail module receives like paragraph.Is there way to get same structured output in mail?

Also is it possible to have some kind coloring format for mail output in ansible?

Regards  
Kumaresan

---

<div class="post-metadata">

**Author:** ![Mani\_Mohan](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@Mani\_Mohan](https://forum.ansible.com/u/Mani_Mohan)\
**Post date:** [July 23, 2020, 3:06pm UTC](https://forum.ansible.com/t/mail-format-output-vs-playbook-ouput/33473/2 "2020-07-23T15:06:20Z")

</div>

You can edit the body as a html page. And format it as u want. Colouring, hi-lights, and any text editing. ‘Subtype: html’ needs to be used with mail module.

Refer to below link for basic examples:  
[https://www.infinitypp.com/ansible/email-notifications-with-examples/](https://www.infinitypp.com/ansible/email-notifications-with-examples/)

Thanks and Regards  
Mani Mohan
