Source code for aircontrol.hotkeys.gmail_hotkeys

import pyautogui


[docs] def new_mail(): """ Open tab to write a new email """ pyautogui.press("c")
[docs] def open_drafts(): """ Open draft emails """ with pyautogui.hold("g"): pyautogui.press("d")
[docs] def open_sent(): """ Open sent emails tab """ with pyautogui.hold("g"): pyautogui.press("t")
[docs] def open_starred(): """ Open starred emails tab """ with pyautogui.hold("g"): pyautogui.press("s")