am f5d96496: Introduce web and email mode (DO NOT MERGE)

* commit 'f5d9649680ae5ee3fe11e839d3111f3351d15285':
  Introduce web and email mode (DO NOT MERGE)