The Gmail API is what allows programmers to communicate with Gmail via code. For example, a programmer can use the Gmail API to set a user’s email signature in Gmail (similar to what can be done via the user interface only via code).