diff --git a/linshareapi/admin/mail_attachments.py b/linshareapi/admin/mail_attachments.py
index <HASH>..<HASH> 100644
--- a/linshareapi/admin/mail_attachments.py
+++ b/linshareapi/admin/mail_attachments.py
@@ -28,6 +28,7 @@
 
 
 
+import urllib
 import os
 import datetime
Fix missing urllib dependency for mail attachment endpoint.