instruction: Open the Gmail App, Compose a mail to dbwscratch.test.id8@gmail.com about Leave Approval with the body Approve my three days leave and send it.

previous_actions: 

active_application: Calendar Pro

screen_description: windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  id: 3
  layer: 1
  window_type: TYPE_SYSTEM
  tree {
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        left: 47
        right: 1027
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 454
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 454
        top: 1
        right: 599
        bottom: 136
      }
      class_name: "android.view.View"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 599
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 149
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 819
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 149
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 819
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 149
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "12:49 PM"
      text: "12:49"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 149
        top: 1
        right: 149
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 819
        top: 1
        right: 881
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 881
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Battery charging, 100 percent."
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 149
        top: 1
        right: 149
        bottom: 136
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 819
        top: 39
        right: 865
        bottom: 97
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wifi signal full."
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 881
        top: 51
        right: 901
        bottom: 85
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 901
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.TextView"
      text: "100%"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 826
        top: 39
        right: 865
        bottom: 97
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 826
        top: 48
        right: 865
        bottom: 87
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 826
        top: 48
        right: 865
        bottom: 87
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
  }
}
windows {
  bounds_in_screen {
    right: 1080
    bottom: 2400
  }
  id: 105
  title: "Calendar Pro"
  window_type: TYPE_APPLICATION
  is_active: true
  is_focused: true
  tree {
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.view.View"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        top: 2337
        right: 1080
        bottom: 2400
      }
      class_name: "android.view.View"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "androidx.drawerlayout.widget.DrawerLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 912
        bottom: 2337
      }
      class_name: "android.widget.ScrollView"
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.ImageView"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 283
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 105
        top: 162
        right: 147
        bottom: 204
      }
      class_name: "android.view.View"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 1077
        top: 2206
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 2337
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 912
        bottom: 1982
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 147
        bottom: 283
      }
      class_name: "android.widget.ImageButton"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 157
        top: 173
        right: 449
        bottom: 245
      }
      class_name: "android.widget.TextView"
      text: "Calendar Pro"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 636
        top: 136
        right: 1080
        bottom: 283
      }
      class_name: "androidx.appcompat.widget.LinearLayoutCompat"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 1077
        top: 2206
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 912
        bottom: 530
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 562
        right: 912
        bottom: 688
      }
      class_name: "android.widget.Button"
      text: "Month"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 698
        right: 912
        bottom: 824
      }
      class_name: "android.widget.Button"
      text: "Week"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 834
        right: 912
        bottom: 960
      }
      class_name: "android.widget.Button"
      text: "Day"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 970
        right: 912
        bottom: 1096
      }
      class_name: "android.widget.Button"
      text: "Schedule"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 1106
        right: 912
        bottom: 1232
      }
      class_name: "android.widget.Button"
      text: "Recycle bin"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 1269
        right: 912
        bottom: 1270
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 1307
        right: 912
        bottom: 1433
      }
      class_name: "android.widget.Button"
      text: "Premium version"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 1438
        right: 912
        bottom: 1574
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 1579
        right: 912
        bottom: 1705
      }
      class_name: "android.widget.Button"
      text: "Theme"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 1715
        right: 912
        bottom: 1841
      }
      class_name: "android.widget.Button"
      text: "Settings"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 1851
        right: 912
        bottom: 1977
      }
      class_name: "android.widget.Button"
      text: "Privacy policy"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 636
        top: 146
        right: 784
        bottom: 272
      }
      class_name: "android.widget.Button"
      content_description: "Search"
      is_clickable: true
      is_focusable: true
      depth: 11
      tooltip_text: "Search"
    }
    nodes {
      bounds_in_screen {
        left: 784
        top: 146
        right: 932
        bottom: 272
      }
      class_name: "android.widget.Button"
      content_description: "Change view"
      is_clickable: true
      is_focusable: true
      depth: 11
      tooltip_text: "Change view"
    }
    nodes {
      bounds_in_screen {
        left: 932
        top: 146
        right: 1080
        bottom: 272
      }
      class_name: "android.widget.Button"
      content_description: "Sort"
      is_clickable: true
      is_focusable: true
      depth: 11
      tooltip_text: "Sort"
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 901
        top: 2158
        right: 1048
        bottom: 2305
      }
      class_name: "android.widget.ImageButton"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 390
        top: 209
        right: 521
        bottom: 340
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 347
        top: 348
        right: 565
        bottom: 402
      }
      class_name: "android.widget.TextView"
      text: "Calendar Pro"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 419
        top: 402
        right: 492
        bottom: 456
      }
      class_name: "android.widget.TextView"
      text: "v1.5"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 1443
        right: 912
        bottom: 1569
      }
      class_name: "android.widget.Button"
      text: "Sync data"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 79
        top: 1464
        right: 121
        bottom: 1506
      }
      class_name: "android.view.View"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 2337
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 158
        top: 315
        right: 1080
        bottom: 410
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 32
        top: 426
        right: 1048
        bottom: 578
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 221
        top: 341
        right: 553
        bottom: 384
      }
      class_name: "android.widget.TextView"
      text: "Week 34,\t21\t-\t23\tAug\t23"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 32
        top: 426
        right: 32
        bottom: 426
      }
      class_name: "android.view.View"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 32
        top: 426
        right: 190
        bottom: 464
      }
      class_name: "android.widget.TextView"
      text: "Wed"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 32
        top: 426
        right: 190
        bottom: 429
      }
      class_name: "android.view.View"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 58
        top: 472
        right: 164
        bottom: 578
      }
      class_name: "android.widget.TextView"
      text: "23"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 222
        top: 426
        right: 1048
        bottom: 544
      }
      class_name: "android.widget.FrameLayout"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 254
        top: 458
        right: 1016
        bottom: 512
      }
      class_name: "android.widget.LinearLayout"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 254
        top: 458
        right: 1016
        bottom: 512
      }
      class_name: "android.widget.TextView"
      text: "Holi"
      depth: 18
    }
  }
}


assistant: !FUNCTIONCALL{"name": "open_app", "parameters": {"app_name": "Gmail"}}