summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-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 88a6644..86646ee 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
*