summaryrefslogtreecommitdiff
path: root/ui/app/lib
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/lib')
-rw-r--r--ui/app/lib/bitmask.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/app/lib/bitmask.js b/ui/app/lib/bitmask.js
index 88a66447..86646ee7 100644
--- a/ui/app/lib/bitmask.js
+++ b/ui/app/lib/bitmask.js
@@ -264,6 +264,14 @@ var bitmask = function(){
},
mail: {
+ enable: function() {
+ return call(['mail', 'enable'])
+ },
+
+ disable: function() {
+ return call(['mail', 'disable'])
+ },
+
/**
* Check the status of the email service
*