# Including imaplib for Jython

**URL:** <https://forum.inductiveautomation.com/t/including-imaplib-for-jython/4010>\
**Category:** Ignition\
**Created:** [February 15, 2012, 8:01pm UTC](https://forum.inductiveautomation.com/t/including-imaplib-for-jython/4010 "2012-02-15T20:01:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nrolling](https://avatars.discourse-cdn.com/v4/letter/n/5f8ce5/32.png) [@nrolling](https://forum.inductiveautomation.com/u/nrolling)\
**Post date:** [February 15, 2012, 8:01pm UTC](https://forum.inductiveautomation.com/t/including-imaplib-for-jython/4010/1 "2012-02-15T20:01:06Z")

</div>

Will the imaplib for Jython be included in 7.4?  
This works well for connecting to email server and parsing mail messages.  
Right now I have a copy stuffed in a script module with some “minor” modifications for scope.

---

<div class="post-metadata">

**Author:** ![Robert](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@Robert](https://forum.inductiveautomation.com/u/Robert)\
**Post date:** [February 15, 2012, 10:49pm UTC](https://forum.inductiveautomation.com/t/including-imaplib-for-jython/4010/2 "2012-02-15T22:49:52Z")

</div>

Is it part of Jython 2.5?  
'Cause that’s in 7.4 ![:mrgreen:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/d23659b203d2d24d394be983a52adb2fa6fe23d4.gif "Mr. Green")

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [February 15, 2012, 11:04pm UTC](https://forum.inductiveautomation.com/t/including-imaplib-for-jython/4010/3 "2012-02-15T23:04:57Z")

</div>

With Jython 2.1 there were a number of libraries we had to remove because they didn’t work for one reason or another with Ignition.

For the upgrade to Jython 2.5 I’ve left all the included libraries in for now. Whether or not they work at this point… well, I guess we’ll find out.

---

<div class="post-metadata">

**Author:** ![Kyle\_Chase](https://avatars.discourse-cdn.com/v4/letter/k/9de0a6/32.png) [@Kyle\_Chase](https://forum.inductiveautomation.com/u/Kyle_Chase)\
**Post date:** [February 16, 2012, 6:44pm UTC](https://forum.inductiveautomation.com/t/including-imaplib-for-jython/4010/4 "2012-02-16T18:44:44Z")

</div>

On a side note, we have a module that we use to connect to an IMAP email account, and it has scripting functions to pull mail into gateway scripts. If you are interested, let me know.
