The answer of CAThrawn pointed me to the right direction (thanks for that!): it's possible with ON{X} and a few lines of custom code. There you go:
function messageSentCB(err){
if(err != undefined) {
var m = device.notifications.createMessageBox('mail sending failure');
m.content = err;
m.show();
}
}
function sendMessage(){
var _to = "<recepient>";
device.messaging.sendMail({to:_to, subject:'arrived at work', body:':-)'}, messageSentCB);
}
device.nfc.on("found", function(signal) {
var workid = "id-of-my-tag-at-work"; // id of my tag at work
var id = signal.id.toArray().join("-");
if(id == workid){
var notification = device.notifications.createNotification("At Work");
notification.vibrate = false;
notification.show();
device.network.wifiEnabled = true; // enable WIFI
device.bluetooth.enabled = false; // disable BT
device.audio.ringerMode = 'vibrate'; // silent mode on
device.network.on("wifiOn", sendMessage()); // send mail once connected
}
});
Works great for now. I'm going to dive into the ON{X} API a bit in order to toggle the state and so disable settings again once I want to leave work.